pub struct LengthUnitId(pub usize);Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for LengthUnitId
impl Clone for LengthUnitId
Source§fn clone(&self) -> LengthUnitId
fn clone(&self) -> LengthUnitId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LengthUnitId
Source§impl Debug for LengthUnitId
impl Debug for LengthUnitId
impl Eq for LengthUnitId
Source§impl Hash for LengthUnitId
impl Hash for LengthUnitId
Source§impl PartialEq for LengthUnitId
impl PartialEq for LengthUnitId
Source§fn eq(&self, other: &LengthUnitId) -> bool
fn eq(&self, other: &LengthUnitId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LengthUnitId
Auto Trait Implementations§
impl Freeze for LengthUnitId
impl RefUnwindSafe for LengthUnitId
impl Send for LengthUnitId
impl Sync for LengthUnitId
impl Unpin for LengthUnitId
impl UnsafeUnpin for LengthUnitId
impl UnwindSafe for LengthUnitId
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