pub struct LeanExport {
pub module_name: String,
pub source: String,
pub prelude: LeanPrelude,
pub theorems: Vec<LeanTheorem>,
}Expand description
Structured Lean export result.
Fields§
§module_name: String§source: String§prelude: LeanPrelude§theorems: Vec<LeanTheorem>Implementations§
Source§impl LeanExport
impl LeanExport
pub fn theorem_for_obligation( &self, obligation_name: &str, ) -> Option<&LeanTheorem>
pub fn theorem_names(&self) -> Vec<String>
pub fn project(&self) -> LeanProject
Trait Implementations§
Source§impl Clone for LeanExport
impl Clone for LeanExport
Source§fn clone(&self) -> LeanExport
fn clone(&self) -> LeanExport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LeanExport
impl Debug for LeanExport
impl Eq for LeanExport
Source§impl PartialEq for LeanExport
impl PartialEq for LeanExport
Source§fn eq(&self, other: &LeanExport) -> bool
fn eq(&self, other: &LeanExport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LeanExport
Auto Trait Implementations§
impl Freeze for LeanExport
impl RefUnwindSafe for LeanExport
impl Send for LeanExport
impl Sync for LeanExport
impl Unpin for LeanExport
impl UnsafeUnpin for LeanExport
impl UnwindSafe for LeanExport
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