pub enum InstantiationKind {
Axiom {
body: TermIdx,
},
NonAxiom {
fingerprint: Fingerprint,
z3_generation: NonMaxU32,
proof: InstProofLink,
},
}
Variants§
Axiom
Axiom instantiations (i.e. those with .fingerprint.is_zero()
) point to
a term regardless of whether proofs are enabled. These terms seem to
generally be an equality.
NonAxiom
Implementations§
Source§impl InstantiationKind
impl InstantiationKind
pub fn fingerprint(&self) -> Fingerprint
pub fn z3_generation(&self) -> Option<NonMaxU32>
pub fn proof(&self) -> Option<ProofIdx>
Trait Implementations§
Source§impl Clone for InstantiationKind
impl Clone for InstantiationKind
Source§fn clone(&self) -> InstantiationKind
fn clone(&self) -> InstantiationKind
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 moreSource§impl Debug for InstantiationKind
impl Debug for InstantiationKind
impl Copy for InstantiationKind
Auto Trait Implementations§
impl Freeze for InstantiationKind
impl RefUnwindSafe for InstantiationKind
impl Send for InstantiationKind
impl Sync for InstantiationKind
impl Unpin for InstantiationKind
impl UnwindSafe for InstantiationKind
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