pub struct SnapId(/* private fields */);Expand description
A unique identifier for a snap target.
Kept as a distinct type from AtomId so that the two cannot be
accidentally mixed at call sites. Invariant: the wrapped value is always
strictly positive.
Implementations§
Trait Implementations§
Source§impl Ord for SnapId
impl Ord for SnapId
Source§impl PartialOrd for SnapId
impl PartialOrd for SnapId
impl Copy for SnapId
impl Eq for SnapId
impl StructuralPartialEq for SnapId
Auto Trait Implementations§
impl Freeze for SnapId
impl RefUnwindSafe for SnapId
impl Send for SnapId
impl Sync for SnapId
impl Unpin for SnapId
impl UnsafeUnpin for SnapId
impl UnwindSafe for SnapId
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