pub struct Z3Pattern {
pub terms: Vec<TermId>,
}Expand description
Analogue of z3::Pattern.
A pattern (a.k.a. trigger) is a list of terms that guides e-matching
instantiation of a quantifier. In OxiZ a pattern is materialised as the
list of trigger terms it carries; construct one with
Z3Context::mk_pattern and attach it to a quantifier with
Z3Context::forall_with_patterns / Z3Context::exists_with_patterns.
Fields§
§terms: Vec<TermId>The trigger terms making up this pattern.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Z3Pattern
impl RefUnwindSafe for Z3Pattern
impl Send for Z3Pattern
impl Sync for Z3Pattern
impl Unpin for Z3Pattern
impl UnsafeUnpin for Z3Pattern
impl UnwindSafe for Z3Pattern
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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