pub struct SymbolDef {
pub name: String,
pub kind: SymbolKind,
pub uri: String,
pub start: usize,
pub end: usize,
}Expand description
A symbol definition in the workspace
Fields§
§name: StringThe name of the symbol
kind: SymbolKindThe kind of symbol (function, variable, package, etc.)
uri: StringThe URI of the file containing this symbol
start: usizeStart byte offset in the file
end: usizeEnd byte offset in the file
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SymbolDef
impl RefUnwindSafe for SymbolDef
impl Send for SymbolDef
impl Sync for SymbolDef
impl Unpin for SymbolDef
impl UnsafeUnpin for SymbolDef
impl UnwindSafe for SymbolDef
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