pub struct DocumentSymbol {
pub name: String,
pub detail: Option<String>,
pub kind: DocumentSymbolKind,
pub full_range: TextRange,
pub focus_range: TextRange,
pub children: Vec<DocumentSymbol>,
}Fields§
§name: String§detail: Option<String>§kind: DocumentSymbolKind§full_range: TextRangeRange used for determining when cursor is inside the symbol for showing in the UI
focus_range: TextRangeRange selected when symbol is selected
children: Vec<DocumentSymbol>Trait Implementations§
Auto Trait Implementations§
impl Freeze for DocumentSymbol
impl RefUnwindSafe for DocumentSymbol
impl Send for DocumentSymbol
impl Sync for DocumentSymbol
impl Unpin for DocumentSymbol
impl UnwindSafe for DocumentSymbol
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