pub struct Namespace(/* private fields */);Expand description
The type of namespaces of associated with non-atomic invariants.
Can be declared with the declare_namespace macro, and then attached to a non-atomic
invariant when creating it with NonAtomicInvariant::new.
Trait Implementations§
Source§impl Plain for Namespace
impl Plain for Namespace
Source§fn into_ghost(snap: Snapshot<Self>) -> Ghost<Self>
fn into_ghost(snap: Snapshot<Self>) -> Ghost<Self>
ensures
*result == *snapterminates
ghost
impl Copy for Namespace
Auto Trait Implementations§
impl Freeze for Namespace
impl RefUnwindSafe for Namespace
impl Send for Namespace
impl Sync for Namespace
impl Unpin for Namespace
impl UnsafeUnpin for Namespace
impl UnwindSafe for Namespace
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