pub struct Symbol {
pub name: String,
pub kind: SymbolKind,
pub file: PathBuf,
pub line_start: usize,
pub line_end: usize,
}Fields§
§name: String§kind: SymbolKind§file: PathBufPath relative to workspace root.
line_start: usize1-based line where the symbol definition starts.
line_end: usize1-based line where the symbol body ends (estimated).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Symbol
impl RefUnwindSafe for Symbol
impl Send for Symbol
impl Sync for Symbol
impl Unpin for Symbol
impl UnsafeUnpin for Symbol
impl UnwindSafe for Symbol
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