pub struct DeclarationSearchRow {
pub name: String,
pub kind: String,
pub module: Option<String>,
pub source: Option<LeanSourceRange>,
pub match_reason: String,
pub score: i32,
pub rank: usize,
pub flags: DeclarationFlags,
}Fields§
§name: String§kind: String§module: Option<String>§source: Option<LeanSourceRange>§match_reason: String§score: i32§rank: usize§flags: DeclarationFlagsTrait Implementations§
Source§impl Clone for DeclarationSearchRow
impl Clone for DeclarationSearchRow
Source§fn clone(&self) -> DeclarationSearchRow
fn clone(&self) -> DeclarationSearchRow
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 DeclarationSearchRow
impl Debug for DeclarationSearchRow
impl Eq for DeclarationSearchRow
Source§impl PartialEq for DeclarationSearchRow
impl PartialEq for DeclarationSearchRow
impl StructuralPartialEq for DeclarationSearchRow
Source§impl<'lean> TryFromLean<'lean> for DeclarationSearchRow
impl<'lean> TryFromLean<'lean> for DeclarationSearchRow
Source§fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
Decode
obj into Self, returning a
LeanError::Host with stage
[HostStage::Conversion] if the object’s kind or payload is
outside the type’s representable range. Read moreAuto Trait Implementations§
impl Freeze for DeclarationSearchRow
impl RefUnwindSafe for DeclarationSearchRow
impl Send for DeclarationSearchRow
impl Sync for DeclarationSearchRow
impl Unpin for DeclarationSearchRow
impl UnsafeUnpin for DeclarationSearchRow
impl UnwindSafe for DeclarationSearchRow
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