pub struct CvlrAnd<A, B>(/* private fields */);Expand description
A boolean expression representing the logical AND of two expressions.
This expression evaluates to true only when both sub-expressions evaluate to true.
When asserting or assuming, both sub-expressions are processed.
Trait Implementations§
Source§impl<A, B> CvlrFormula for CvlrAnd<A, B>
impl<A, B> CvlrFormula for CvlrAnd<A, B>
type Context = <A as CvlrFormula>::Context
Source§fn eval(&self, ctx: &Self::Context) -> bool
fn eval(&self, ctx: &Self::Context) -> bool
Evaluates the expression in the given context. Read more
Source§fn assert(&self, ctx: &Self::Context)
fn assert(&self, ctx: &Self::Context)
Asserts that the expression holds in the given context. Read more
Source§fn assume(&self, ctx: &Self::Context)
fn assume(&self, ctx: &Self::Context)
Assumes that the expression holds in the given context. Read more
Source§fn eval_with_states(&self, ctx0: &Self::Context, ctx1: &Self::Context) -> bool
fn eval_with_states(&self, ctx0: &Self::Context, ctx1: &Self::Context) -> bool
Evaluates the expression over two states (pre-state and post-state). Read more
impl<A: Copy, B: Copy> Copy for CvlrAnd<A, B>
Auto Trait Implementations§
impl<A, B> Freeze for CvlrAnd<A, B>
impl<A, B> RefUnwindSafe for CvlrAnd<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for CvlrAnd<A, B>
impl<A, B> Sync for CvlrAnd<A, B>
impl<A, B> Unpin for CvlrAnd<A, B>
impl<A, B> UnsafeUnpin for CvlrAnd<A, B>where
A: UnsafeUnpin,
B: UnsafeUnpin,
impl<A, B> UnwindSafe for CvlrAnd<A, B>where
A: UnwindSafe,
B: 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