pub struct DocumentSymbolsOutput {
pub schema_version: &'static str,
pub document_version: u64,
pub diagnostics: Vec<Diagnostic>,
pub symbols: Vec<DocumentSymbol>,
}Expand description
Hierarchical document symbols for one caller-owned document version.
Fields§
§schema_version: &'static strPortable schema version.
document_version: u64Document version supplied by the caller.
diagnostics: Vec<Diagnostic>Ordered compiler diagnostics for the same source snapshot.
symbols: Vec<DocumentSymbol>Root diagram symbol, absent when syntax parsing fails.
Trait Implementations§
Source§impl Clone for DocumentSymbolsOutput
impl Clone for DocumentSymbolsOutput
Source§fn clone(&self) -> DocumentSymbolsOutput
fn clone(&self) -> DocumentSymbolsOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DocumentSymbolsOutput
impl Debug for DocumentSymbolsOutput
impl Eq for DocumentSymbolsOutput
Source§impl PartialEq for DocumentSymbolsOutput
impl PartialEq for DocumentSymbolsOutput
impl StructuralPartialEq for DocumentSymbolsOutput
Auto Trait Implementations§
impl Freeze for DocumentSymbolsOutput
impl RefUnwindSafe for DocumentSymbolsOutput
impl Send for DocumentSymbolsOutput
impl Sync for DocumentSymbolsOutput
impl Unpin for DocumentSymbolsOutput
impl UnsafeUnpin for DocumentSymbolsOutput
impl UnwindSafe for DocumentSymbolsOutput
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