pub struct Lean4Axiom {
pub name: String,
pub args: Vec<(String, Lean4Type)>,
pub ty: Lean4Type,
pub doc_comment: Option<String>,
}Expand description
A Lean 4 axiom declaration.
Fields§
§name: StringAxiom name
args: Vec<(String, Lean4Type)>Arguments
ty: Lean4TypeThe type (proposition)
doc_comment: Option<String>Optional doc comment
Implementations§
Trait Implementations§
Source§impl Clone for Lean4Axiom
impl Clone for Lean4Axiom
Source§fn clone(&self) -> Lean4Axiom
fn clone(&self) -> Lean4Axiom
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 Lean4Axiom
impl RefUnwindSafe for Lean4Axiom
impl Send for Lean4Axiom
impl Sync for Lean4Axiom
impl Unpin for Lean4Axiom
impl UnsafeUnpin for Lean4Axiom
impl UnwindSafe for Lean4Axiom
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