pub struct BaseSymbolInformation {
pub name: String,
pub kind: SymbolKind,
pub tags: Option<Vec<SymbolTag>>,
pub container_name: Option<String>,
}Expand description
A base for all symbol information.
Fields§
§name: StringThe name of this symbol.
kind: SymbolKindThe kind of this symbol.
Tags for this symbol.
@since 3.16.0
container_name: Option<String>The name of the symbol containing this symbol. This information is for user interface purposes (e.g. to render a qualifier in the user interface if necessary). It can’t be used to re-infer a hierarchy for the document symbols.
Trait Implementations§
Source§impl Clone for BaseSymbolInformation
impl Clone for BaseSymbolInformation
Source§fn clone(&self) -> BaseSymbolInformation
fn clone(&self) -> BaseSymbolInformation
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 BaseSymbolInformation
impl Debug for BaseSymbolInformation
Source§impl<'de> Deserialize<'de> for BaseSymbolInformation
impl<'de> Deserialize<'de> for BaseSymbolInformation
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
Source§impl PartialEq for BaseSymbolInformation
impl PartialEq for BaseSymbolInformation
Source§impl Serialize for BaseSymbolInformation
impl Serialize for BaseSymbolInformation
impl Eq for BaseSymbolInformation
impl StructuralPartialEq for BaseSymbolInformation
Auto Trait Implementations§
impl Freeze for BaseSymbolInformation
impl RefUnwindSafe for BaseSymbolInformation
impl Send for BaseSymbolInformation
impl Sync for BaseSymbolInformation
impl Unpin for BaseSymbolInformation
impl UnwindSafe for BaseSymbolInformation
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