pub struct DeclarationInspectionFields {
pub source: bool,
pub statement: bool,
pub docstring: bool,
pub attributes: bool,
pub flags: bool,
pub statement_pretty: bool,
pub proof_search: bool,
}Fields§
§source: bool§statement: bool§docstring: bool§attributes: bool§flags: bool§statement_pretty: boolRender statement notation-aware (pp.universes false) when true,
falling back to the raw term if the pretty-printer cannot render it;
the fully-elaborated raw form when false.
proof_search: boolInclude proof-search-oriented facts such as simp/rw/instance/class. Defaults off because these facts may touch persistent extensions and lazy derived search indexes.
Trait Implementations§
Source§impl Clone for DeclarationInspectionFields
impl Clone for DeclarationInspectionFields
Source§fn clone(&self) -> DeclarationInspectionFields
fn clone(&self) -> DeclarationInspectionFields
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 moreimpl Copy for DeclarationInspectionFields
Source§impl Debug for DeclarationInspectionFields
impl Debug for DeclarationInspectionFields
impl Eq for DeclarationInspectionFields
Source§impl<'lean> IntoLean<'lean> for DeclarationInspectionFields
impl<'lean> IntoLean<'lean> for DeclarationInspectionFields
Source§fn into_lean(self, runtime: &'lean LeanRuntime) -> Obj<'lean>
fn into_lean(self, runtime: &'lean LeanRuntime) -> Obj<'lean>
Allocate (or scalar-box) a Lean representation of
self and return
the owned handle.impl StructuralPartialEq for DeclarationInspectionFields
Auto Trait Implementations§
impl Freeze for DeclarationInspectionFields
impl RefUnwindSafe for DeclarationInspectionFields
impl Send for DeclarationInspectionFields
impl Sync for DeclarationInspectionFields
impl Unpin for DeclarationInspectionFields
impl UnsafeUnpin for DeclarationInspectionFields
impl UnwindSafe for DeclarationInspectionFields
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