pub struct ProofStore { /* private fields */ }Expand description
A hash-cons store for proofs and terms related to an egglog program.
Implementations§
Source§impl ProofStore
 
impl ProofStore
Sourcepub fn print_term_proof_pretty(
    &self,
    term_pf: TermProofId,
    config: &PrettyPrintConfig,
    writer: &mut impl Write,
) -> Result<()>
 
pub fn print_term_proof_pretty( &self, term_pf: TermProofId, config: &PrettyPrintConfig, writer: &mut impl Write, ) -> Result<()>
Print a term proof with pretty-printing configuration.
Sourcepub fn print_eq_proof_pretty(
    &self,
    eq_pf: EqProofId,
    config: &PrettyPrintConfig,
    writer: &mut impl Write,
) -> Result<()>
 
pub fn print_eq_proof_pretty( &self, eq_pf: EqProofId, config: &PrettyPrintConfig, writer: &mut impl Write, ) -> Result<()>
Print an equality proof with pretty-printing configuration.
Sourcepub fn print_eq_proof(
    &self,
    eq_pf: EqProofId,
    writer: &mut impl Write,
) -> Result<()>
 
pub fn print_eq_proof( &self, eq_pf: EqProofId, writer: &mut impl Write, ) -> Result<()>
Print the equality proof in a human-readable format to the given writer.
Sourcepub fn print_term_proof(
    &self,
    term_pf: TermProofId,
    writer: &mut impl Write,
) -> Result<()>
 
pub fn print_term_proof( &self, term_pf: TermProofId, writer: &mut impl Write, ) -> Result<()>
Print the term proof in a human-readable format to the given writer.
Trait Implementations§
Source§impl Clone for ProofStore
 
impl Clone for ProofStore
Source§fn clone(&self) -> ProofStore
 
fn clone(&self) -> ProofStore
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 Default for ProofStore
 
impl Default for ProofStore
Source§fn default() -> ProofStore
 
fn default() -> ProofStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProofStore
impl RefUnwindSafe for ProofStore
impl !Send for ProofStore
impl !Sync for ProofStore
impl Unpin for ProofStore
impl UnwindSafe for ProofStore
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