pub struct SymbolMatch {
pub unit_id: u64,
pub name: String,
pub qualified_name: String,
pub unit_type: String,
pub file_path: String,
}Expand description
A single symbol that matched a query.
Fields§
§unit_id: u64Code unit ID within its graph.
name: StringSimple symbol name.
qualified_name: StringFully qualified name.
unit_type: StringHuman-readable type label (from [CodeUnitType::label]).
file_path: StringFile path where the symbol is defined.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SymbolMatch
impl RefUnwindSafe for SymbolMatch
impl Send for SymbolMatch
impl Sync for SymbolMatch
impl Unpin for SymbolMatch
impl UnsafeUnpin for SymbolMatch
impl UnwindSafe for SymbolMatch
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