pub struct Id(/* private fields */);Expand description
A non-zero i32 value used for identification purposes throughout the crate.
Trait Implementations§
Source§impl From<NonZero<i32>> for Id
impl From<NonZero<i32>> for Id
Source§fn from(value: NonZeroI32) -> Self
fn from(value: NonZeroI32) -> Self
Converts to this type from the input type.
Source§impl Ord for Id
impl Ord for Id
Source§impl PartialOrd for Id
impl PartialOrd for Id
impl Copy for Id
impl Eq for Id
impl StructuralPartialEq for Id
Auto Trait Implementations§
impl Freeze for Id
impl RefUnwindSafe for Id
impl Send for Id
impl Sync for Id
impl Unpin for Id
impl UnwindSafe for Id
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