pub enum SmtPredicate {
Eq(SmtTerm, SmtTerm),
Ne(SmtTerm, SmtTerm),
Le(SmtTerm, SmtTerm),
Lt(SmtTerm, SmtTerm),
Ge(SmtTerm, SmtTerm),
Gt(SmtTerm, SmtTerm),
And(Vec<SmtPredicate>),
Divisible {
term: SmtTerm,
modulus: u64,
},
InBounds {
index: SmtTerm,
access_count: SmtTerm,
len: SmtTerm,
},
NonOverlapping {
left: SmtTerm,
right: SmtTerm,
left_count: SmtTerm,
right_count: SmtTerm,
elem_size: u64,
},
Not(Box<SmtPredicate>),
Custom(String),
}Expand description
Common boolean predicate asserted or refuted by SMT queries.
Variants§
Eq(SmtTerm, SmtTerm)
Ne(SmtTerm, SmtTerm)
Le(SmtTerm, SmtTerm)
Lt(SmtTerm, SmtTerm)
Ge(SmtTerm, SmtTerm)
Gt(SmtTerm, SmtTerm)
And(Vec<SmtPredicate>)
Divisible
InBounds
NonOverlapping
Not(Box<SmtPredicate>)
Custom(String)
Implementations§
Trait Implementations§
Source§impl Clone for SmtPredicate
impl Clone for SmtPredicate
Source§fn clone(&self) -> SmtPredicate
fn clone(&self) -> SmtPredicate
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 moreAuto Trait Implementations§
impl Freeze for SmtPredicate
impl RefUnwindSafe for SmtPredicate
impl Send for SmtPredicate
impl Sync for SmtPredicate
impl Unpin for SmtPredicate
impl UnwindSafe for SmtPredicate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more