pub struct Id(/* private fields */);Expand description
A unique id, usable in logic and ghost code
The only properties of this type are:
- there is an infinite number of ids
- You can always generate a fresh id in logic code
§Usage
Ids are used in PermCell and resource algebras.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Id
impl RefUnwindSafe for Id
impl Send for Id
impl Sync for Id
impl Unpin for Id
impl UnsafeUnpin 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