pub enum SmtTerm {
Place(PlaceKey),
Value(String),
Const(u64),
ConstParam(String),
Add(Box<SmtTerm>, Box<SmtTerm>),
Sub(Box<SmtTerm>, Box<SmtTerm>),
Mul(Box<SmtTerm>, Box<SmtTerm>),
Div(Box<SmtTerm>, Box<SmtTerm>),
Rem(Box<SmtTerm>, Box<SmtTerm>),
}Expand description
Common SMT term used by diagnostics and property-independent query building.
Variants§
Place(PlaceKey)
Value(String)
Const(u64)
ConstParam(String)
Const-generic parameter value (produces the same SMT constant as
term_for_value for AbstractValue::Const).
Add(Box<SmtTerm>, Box<SmtTerm>)
Sub(Box<SmtTerm>, Box<SmtTerm>)
Mul(Box<SmtTerm>, Box<SmtTerm>)
Div(Box<SmtTerm>, Box<SmtTerm>)
Rem(Box<SmtTerm>, Box<SmtTerm>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SmtTerm
impl RefUnwindSafe for SmtTerm
impl Send for SmtTerm
impl Sync for SmtTerm
impl Unpin for SmtTerm
impl UnwindSafe for SmtTerm
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