pub struct NamedUnitId(pub usize);Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for NamedUnitId
impl Clone for NamedUnitId
Source§fn clone(&self) -> NamedUnitId
fn clone(&self) -> NamedUnitId
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 NamedUnitId
Source§impl Debug for NamedUnitId
impl Debug for NamedUnitId
impl Eq for NamedUnitId
Source§impl Hash for NamedUnitId
impl Hash for NamedUnitId
Source§impl PartialEq for NamedUnitId
impl PartialEq for NamedUnitId
Source§fn eq(&self, other: &NamedUnitId) -> bool
fn eq(&self, other: &NamedUnitId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NamedUnitId
Auto Trait Implementations§
impl Freeze for NamedUnitId
impl RefUnwindSafe for NamedUnitId
impl Send for NamedUnitId
impl Sync for NamedUnitId
impl Unpin for NamedUnitId
impl UnsafeUnpin for NamedUnitId
impl UnwindSafe for NamedUnitId
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