pub struct InspectMatchFoundView {
pub path: String,
pub line: u32,
pub excerpt: String,
pub enclosing: Option<EnclosingSymbolView>,
pub parent_chain: Vec<EnclosingSymbolView>,
pub siblings: Vec<SiblingSymbolView>,
pub siblings_overflow: usize,
}Expand description
Found result for inspect_match.
Fields§
§path: String§line: u32§excerpt: String§enclosing: Option<EnclosingSymbolView>§parent_chain: Vec<EnclosingSymbolView>Full parent chain from outermost (depth 0) to the enclosing symbol, e.g. [module, class, method] — gives full nesting context.
siblings: Vec<SiblingSymbolView>§siblings_overflow: usizeNumber of siblings omitted due to the sibling_limit cap.
Trait Implementations§
Source§impl Clone for InspectMatchFoundView
impl Clone for InspectMatchFoundView
Source§fn clone(&self) -> InspectMatchFoundView
fn clone(&self) -> InspectMatchFoundView
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 moreSource§impl Debug for InspectMatchFoundView
impl Debug for InspectMatchFoundView
Source§impl PartialEq for InspectMatchFoundView
impl PartialEq for InspectMatchFoundView
impl StructuralPartialEq for InspectMatchFoundView
Auto Trait Implementations§
impl Freeze for InspectMatchFoundView
impl RefUnwindSafe for InspectMatchFoundView
impl Send for InspectMatchFoundView
impl Sync for InspectMatchFoundView
impl Unpin for InspectMatchFoundView
impl UnsafeUnpin for InspectMatchFoundView
impl UnwindSafe for InspectMatchFoundView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more