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§
impl Copy for Id
Source§impl DeepModel for Id
impl DeepModel for Id
Source§fn deep_model(self) -> Self::DeepModelTy
fn deep_model(self) -> Self::DeepModelTy
logic(open, inline)
selftype DeepModelTy = Id
impl Eq for Id
Auto Trait Implementations§
impl Freeze for Id
impl Objective 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