pub struct SymbolInformation {
pub deprecated: Option<bool>,
pub location: Location,
pub base_symbol_information: BaseSymbolInformation,
}Expand description
Represents information about programming constructs like variables, classes, interfaces etc.
Fields§
§deprecated: Option<bool>👎Deprecated: Use tags instead
Indicates if this symbol is deprecated.
location: LocationThe location of this symbol. The location’s range is used by a tool to reveal the location in the editor. If the symbol is selected in the tool the range’s start information is used to position the cursor. So the range usually spans more than the actual symbol’s name and does normally include things like visibility modifiers.
The range doesn’t have to denote a node range in the sense of an abstract syntax tree. It can therefore not be used to re-construct a hierarchy of the symbols.
base_symbol_information: BaseSymbolInformationTrait Implementations§
Source§impl Clone for SymbolInformation
impl Clone for SymbolInformation
Source§fn clone(&self) -> SymbolInformation
fn clone(&self) -> SymbolInformation
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 SymbolInformation
impl Debug for SymbolInformation
Source§impl Default for SymbolInformation
impl Default for SymbolInformation
Source§fn default() -> SymbolInformation
fn default() -> SymbolInformation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SymbolInformation
impl<'de> Deserialize<'de> for SymbolInformation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SymbolInformation
impl RefUnwindSafe for SymbolInformation
impl Send for SymbolInformation
impl Sync for SymbolInformation
impl Unpin for SymbolInformation
impl UnwindSafe for SymbolInformation
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