#[repr(transparent)]pub struct Displacement12(pub u16);
Tuple Fields§
§0: u16
Trait Implementations§
Source§impl Clone for Displacement12
impl Clone for Displacement12
Source§fn clone(&self) -> Displacement12
fn clone(&self) -> Displacement12
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Displacement12
impl Debug for Displacement12
Source§impl Default for Displacement12
impl Default for Displacement12
Source§fn default() -> Displacement12
fn default() -> Displacement12
Returns the “default value” for a type. Read more
§impl Display for Displacement12
impl Display for Displacement12
Source§impl Hash for Displacement12
impl Hash for Displacement12
Source§impl Ord for Displacement12
impl Ord for Displacement12
Source§fn cmp(&self, other: &Displacement12) -> Ordering
fn cmp(&self, other: &Displacement12) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Displacement12
impl PartialEq for Displacement12
Source§impl PartialOrd for Displacement12
impl PartialOrd for Displacement12
impl Copy for Displacement12
impl Eq for Displacement12
impl StructuralPartialEq for Displacement12
Auto Trait Implementations§
impl Freeze for Displacement12
impl RefUnwindSafe for Displacement12
impl Send for Displacement12
impl Sync for Displacement12
impl Unpin for Displacement12
impl UnwindSafe for Displacement12
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more