pub struct DropObligation<R> { /* private fields */ }Implementations§
Source§impl<R> DropObligation<R>
impl<R> DropObligation<R>
Sourcepub proof fn tracked_mint(value: R) -> tracked res : DropObligation<R>
pub proof fn tracked_mint(value: R) -> tracked res : DropObligation<R>
ensures
res.value() == value,Mint a fresh obligation token. S.
Sourcepub proof fn validate_with_other(tracked &mut self, tracked other: &Self)
pub proof fn validate_with_other(tracked &mut self, tracked other: &Self)
ensures
*old(self) == *final(self),final(self).id() != other.id(),Two outstanding obligations have distinct Locs.
Auto Trait Implementations§
impl<R> Freeze for DropObligation<R>
impl<R> RefUnwindSafe for DropObligation<R>where
R: RefUnwindSafe,
impl<R> Send for DropObligation<R>where
R: Send,
impl<R> Sync for DropObligation<R>where
R: Sync,
impl<R> Unpin for DropObligation<R>where
R: Unpin,
impl<R> UnsafeUnpin for DropObligation<R>
impl<R> UnwindSafe for DropObligation<R>where
R: 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