pub struct UnitId(pub i32);
Expand description
A numeric reference to an Unit
instance.
Tuple Fields§
§0: i32
Trait Implementations§
impl Copy for UnitId
impl StructuralPartialEq for UnitId
Auto Trait Implementations§
impl Freeze for UnitId
impl RefUnwindSafe for UnitId
impl Send for UnitId
impl Sync for UnitId
impl Unpin for UnitId
impl UnwindSafe for UnitId
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