pub struct ExclUpdate<T>(pub Snapshot<T>);Tuple Fields§
§0: Snapshot<T>Trait Implementations§
Source§impl<T> Update<Excl<T>> for ExclUpdate<T>
impl<T> Update<Excl<T>> for ExclUpdate<T>
Source§fn update(self, from: Excl<T>, _: ()) -> Excl<T>
fn update(self, from: Excl<T>, _: ()) -> Excl<T>
(open)
Excl(*self.0)requires
self.premise(from)Source§fn frame_preserving(self, from: Excl<T>, frame: Excl<T>)
fn frame_preserving(self, from: Excl<T>, frame: Excl<T>)
⚠
requires
self.premise(from)requires
from.op(frame) != Noneensures
self.update(from, result).op(frame) != Nonetype Choice = ()
Auto Trait Implementations§
impl<T> Freeze for ExclUpdate<T>
impl<T> RefUnwindSafe for ExclUpdate<T>where
T: RefUnwindSafe,
impl<T> Send for ExclUpdate<T>where
T: Send,
impl<T> Sync for ExclUpdate<T>where
T: Sync,
impl<T> Unpin for ExclUpdate<T>where
T: Unpin,
impl<T> UnwindSafe for ExclUpdate<T>where
T: UnwindSafe,
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