pub struct CvlrPropImpl<Pre, Post>(/* private fields */);Expand description
An implementation of CvlrSpec that combines a precondition and postcondition.
This type stores a boolean expression for the precondition (requires) and
a boolean expression for the postcondition (ensures). The ensures expression
uses eval_with_states to evaluate
over both pre-state and post-state.
Trait Implementations§
Source§impl<Pre: Clone, Post: Clone> Clone for CvlrPropImpl<Pre, Post>
impl<Pre: Clone, Post: Clone> Clone for CvlrPropImpl<Pre, Post>
Source§fn clone(&self) -> CvlrPropImpl<Pre, Post>
fn clone(&self) -> CvlrPropImpl<Pre, Post>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<Pre, Post> CvlrSpec for CvlrPropImpl<Pre, Post>
impl<Pre, Post> CvlrSpec for CvlrPropImpl<Pre, Post>
type Context = <Pre as CvlrFormula>::Context
Source§fn assume_requires(&self, pre_state: &Self::Context)
fn assume_requires(&self, pre_state: &Self::Context)
Assumes that the preconditions (requires) hold for the given pre-state. Read more
impl<Pre: Copy, Post: Copy> Copy for CvlrPropImpl<Pre, Post>
Auto Trait Implementations§
impl<Pre, Post> Freeze for CvlrPropImpl<Pre, Post>
impl<Pre, Post> RefUnwindSafe for CvlrPropImpl<Pre, Post>where
Pre: RefUnwindSafe,
Post: RefUnwindSafe,
impl<Pre, Post> Send for CvlrPropImpl<Pre, Post>
impl<Pre, Post> Sync for CvlrPropImpl<Pre, Post>
impl<Pre, Post> Unpin for CvlrPropImpl<Pre, Post>
impl<Pre, Post> UnsafeUnpin for CvlrPropImpl<Pre, Post>where
Pre: UnsafeUnpin,
Post: UnsafeUnpin,
impl<Pre, Post> UnwindSafe for CvlrPropImpl<Pre, Post>where
Pre: UnwindSafe,
Post: 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