pub struct Lean4CalcStep {
pub lhs: Lean4Expr,
pub relation: String,
pub rhs: Lean4Expr,
pub justification: Lean4Expr,
}Expand description
One step in a calc proof.
Fields§
§lhs: Lean4ExprLeft-hand side expression
relation: StringRelation: =, ≤, <, ≥, >, etc.
rhs: Lean4ExprRight-hand side expression
justification: Lean4ExprJustification: by ... or a term
Trait Implementations§
Source§impl Clone for Lean4CalcStep
impl Clone for Lean4CalcStep
Source§fn clone(&self) -> Lean4CalcStep
fn clone(&self) -> Lean4CalcStep
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 Lean4CalcStep
impl Debug for Lean4CalcStep
Source§impl Display for Lean4CalcStep
impl Display for Lean4CalcStep
Source§impl PartialEq for Lean4CalcStep
impl PartialEq for Lean4CalcStep
impl StructuralPartialEq for Lean4CalcStep
Auto Trait Implementations§
impl Freeze for Lean4CalcStep
impl RefUnwindSafe for Lean4CalcStep
impl Send for Lean4CalcStep
impl Sync for Lean4CalcStep
impl Unpin for Lean4CalcStep
impl UnsafeUnpin for Lean4CalcStep
impl UnwindSafe for Lean4CalcStep
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