pub struct ProofObligation {
pub label: String,
pub proposition: Expr,
pub discharged: bool,
pub proof_term: Option<Expr>,
}Expand description
Represents a single obligation in a proof: a goal that must be closed.
Fields§
§label: StringA human-readable label for this obligation.
proposition: ExprThe proposition that must be proved.
discharged: boolWhether this obligation has been discharged.
proof_term: Option<Expr>The proof term supplied, if any.
Implementations§
Trait Implementations§
Source§impl Clone for ProofObligation
impl Clone for ProofObligation
Source§fn clone(&self) -> ProofObligation
fn clone(&self) -> ProofObligation
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 moreAuto Trait Implementations§
impl Freeze for ProofObligation
impl RefUnwindSafe for ProofObligation
impl Send for ProofObligation
impl Sync for ProofObligation
impl Unpin for ProofObligation
impl UnsafeUnpin for ProofObligation
impl UnwindSafe for ProofObligation
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