pub struct OpenMutGuard;Expand description
Guard for NonAtomicInvariant::open_mut.
Trait Implementations§
Source§impl<T: Protocol> GuardRef<T> for OpenMutGuard
impl<T: Protocol> GuardRef<T> for OpenMutGuard
Source§fn guards_ref(self, x: T) -> bool
fn guards_ref(self, x: T) -> bool
logic(open, prophetic, inline)
x.protocol()Auto Trait Implementations§
impl Freeze for OpenMutGuard
impl Objective for OpenMutGuard
impl RefUnwindSafe for OpenMutGuard
impl Send for OpenMutGuard
impl Sync for OpenMutGuard
impl Unpin for OpenMutGuard
impl UnsafeUnpin for OpenMutGuard
impl UnwindSafe for OpenMutGuard
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
Source§impl<G, T> Guard<FullBorrow<T>> for Gwhere
G: GuardRef<T>,
impl<G, T> Guard<FullBorrow<T>> for Gwhere
G: GuardRef<T>,
Source§fn guards(self, initial: FullBorrow<T>, current: FullBorrow<T>) -> bool
fn guards(self, initial: FullBorrow<T>, current: FullBorrow<T>) -> bool
logic(open, prophetic, inline)
self.guards_ref(current.cur()) && ^initial == ^current