pub struct DocumentSymbolInfo {
pub name: String,
pub kind: String,
pub location: SymbolLocation,
}Expand description
A flat document symbol entry from textDocument/documentSymbol.
Fields§
§name: StringSymbol name.
kind: StringHuman-readable symbol kind (e.g. "Class", "Method").
location: SymbolLocationLocation of this symbol in its source file.
Trait Implementations§
Source§impl Clone for DocumentSymbolInfo
impl Clone for DocumentSymbolInfo
Source§fn clone(&self) -> DocumentSymbolInfo
fn clone(&self) -> DocumentSymbolInfo
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 moreSource§impl Debug for DocumentSymbolInfo
impl Debug for DocumentSymbolInfo
Source§impl PartialEq for DocumentSymbolInfo
impl PartialEq for DocumentSymbolInfo
impl Eq for DocumentSymbolInfo
impl StructuralPartialEq for DocumentSymbolInfo
Auto Trait Implementations§
impl Freeze for DocumentSymbolInfo
impl RefUnwindSafe for DocumentSymbolInfo
impl Send for DocumentSymbolInfo
impl Sync for DocumentSymbolInfo
impl Unpin for DocumentSymbolInfo
impl UnsafeUnpin for DocumentSymbolInfo
impl UnwindSafe for DocumentSymbolInfo
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