pub struct Symbol {Show 15 fields
pub kind: SymbolKind,
pub name: QualifiedName,
pub uri: String,
pub start_byte: usize,
pub end_byte: usize,
pub start_line: usize,
pub start_col: usize,
pub end_line: usize,
pub end_col: usize,
pub name_start_line: usize,
pub name_start_col: usize,
pub name_end_line: usize,
pub name_end_col: usize,
pub definition_text: String,
pub children: Vec<Symbol>,
}Expand description
A symbol definition extracted from the parse tree.
Fields§
§kind: SymbolKind§name: QualifiedName§uri: String§start_byte: usizeFull statement range.
end_byte: usize§start_line: usize§start_col: usize§end_line: usize§end_col: usize§name_start_line: usizeName-only range (for rename operations).
name_start_col: usize§name_end_line: usize§name_end_col: usize§definition_text: String§children: Vec<Symbol>Trait Implementations§
Auto Trait Implementations§
impl Forget for Symbol
impl Freeze for Symbol
impl Move 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