pub struct SmtQuery {
pub obligation: SmtObligation,
pub assumptions: Vec<SmtPredicate>,
pub negated_goal: SmtPredicate,
}Expand description
Solver query built from path facts plus one negated obligation.
Fields§
§obligation: SmtObligationProperty-specific obligation being proved.
assumptions: Vec<SmtPredicate>Assumptions asserted from forward facts.
negated_goal: SmtPredicateNegated goal sent to the solver.
Implementations§
Source§impl SmtQuery
impl SmtQuery
Sourcepub fn new(
obligation: SmtObligation,
assumptions: Vec<SmtPredicate>,
negated_goal: SmtPredicate,
) -> Self
pub fn new( obligation: SmtObligation, assumptions: Vec<SmtPredicate>, negated_goal: SmtPredicate, ) -> Self
Create a query description.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SmtQuery
impl RefUnwindSafe for SmtQuery
impl Send for SmtQuery
impl Sync for SmtQuery
impl Unpin for SmtQuery
impl UnwindSafe for SmtQuery
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