pub struct SymbolQueryResult {
pub entity_id: i64,
pub name: String,
pub file_path: String,
pub kind: String,
pub byte_start: usize,
pub byte_end: usize,
}Expand description
Query result containing symbol metadata
Fields§
§entity_id: i64Entity ID in the graph
name: StringSymbol name
file_path: StringFile path containing the symbol
kind: StringSymbol kind (fn, struct, enum, etc.)
byte_start: usizeByte range
byte_end: usizeTrait Implementations§
Source§impl Clone for SymbolQueryResult
impl Clone for SymbolQueryResult
Source§fn clone(&self) -> SymbolQueryResult
fn clone(&self) -> SymbolQueryResult
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 moreAuto Trait Implementations§
impl Freeze for SymbolQueryResult
impl RefUnwindSafe for SymbolQueryResult
impl Send for SymbolQueryResult
impl Sync for SymbolQueryResult
impl Unpin for SymbolQueryResult
impl UnwindSafe for SymbolQueryResult
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> 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