pub struct LeanOutput {
pub diagnostics: Vec<LeanDiagnostic>,
pub theorem_hits: Vec<String>,
}Expand description
Parsed Lean output details.
Fields§
§diagnostics: Vec<LeanDiagnostic>§theorem_hits: Vec<String>Implementations§
Source§impl LeanOutput
impl LeanOutput
pub fn error_count(&self) -> usize
pub fn theorem_diagnostics<'a>( &'a self, theorem: &LeanTheorem, ) -> Vec<&'a LeanDiagnostic>
pub fn has_theorem_failure(&self, theorem: &LeanTheorem) -> bool
Trait Implementations§
Source§impl Clone for LeanOutput
impl Clone for LeanOutput
Source§fn clone(&self) -> LeanOutput
fn clone(&self) -> LeanOutput
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 LeanOutput
impl Debug for LeanOutput
impl Eq for LeanOutput
Source§impl PartialEq for LeanOutput
impl PartialEq for LeanOutput
Source§fn eq(&self, other: &LeanOutput) -> bool
fn eq(&self, other: &LeanOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LeanOutput
Auto Trait Implementations§
impl Freeze for LeanOutput
impl RefUnwindSafe for LeanOutput
impl Send for LeanOutput
impl Sync for LeanOutput
impl Unpin for LeanOutput
impl UnsafeUnpin for LeanOutput
impl UnwindSafe for LeanOutput
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