pub struct AtView<T>(/* private fields */);Expand description
P@V
Implementations§
Source§impl<T> AtView<T>
impl<T> AtView<T>
Sourcepub fn view_logic(&self) -> SyncView
pub fn view_logic(&self) -> SyncView
logic(opaque) ⚠
Sourcepub fn new(val: Ghost<T>) -> Ghost<(SyncView, Self)>
pub fn new(val: Ghost<T>) -> Ghost<(SyncView, Self)>
terminates
ghost
ensures
result.0 == result.1.view_logic() && result.1.val() == *valSourcepub fn into_inner(self, v: SyncView) -> T
pub fn into_inner(self, v: SyncView) -> T
terminates
ghost
requires
self.view_logic().le_log(v)ensures
result == self.val()Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for AtView<T>
impl<T> RefUnwindSafe for AtView<T>where
T: RefUnwindSafe,
impl<T> Send for AtView<T>where
T: Send,
impl<T> Sync for AtView<T>where
T: Sync,
impl<T> Unpin for AtView<T>where
T: Unpin,
impl<T> UnsafeUnpin for AtView<T>
impl<T> UnwindSafe for AtView<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