Struct lsp_types::SymbolKind
source · pub struct SymbolKind(/* private fields */);
Expand description
A symbol kind.
Implementations§
source§impl SymbolKind
impl SymbolKind
pub const FILE: SymbolKind = _
pub const MODULE: SymbolKind = _
pub const NAMESPACE: SymbolKind = _
pub const PACKAGE: SymbolKind = _
pub const CLASS: SymbolKind = _
pub const METHOD: SymbolKind = _
pub const PROPERTY: SymbolKind = _
pub const FIELD: SymbolKind = _
pub const CONSTRUCTOR: SymbolKind = _
pub const ENUM: SymbolKind = _
pub const INTERFACE: SymbolKind = _
pub const FUNCTION: SymbolKind = _
pub const VARIABLE: SymbolKind = _
pub const CONSTANT: SymbolKind = _
pub const STRING: SymbolKind = _
pub const NUMBER: SymbolKind = _
pub const BOOLEAN: SymbolKind = _
pub const ARRAY: SymbolKind = _
pub const OBJECT: SymbolKind = _
pub const KEY: SymbolKind = _
pub const NULL: SymbolKind = _
pub const ENUM_MEMBER: SymbolKind = _
pub const STRUCT: SymbolKind = _
pub const EVENT: SymbolKind = _
pub const OPERATOR: SymbolKind = _
pub const TYPE_PARAMETER: SymbolKind = _
Trait Implementations§
source§impl Clone for SymbolKind
impl Clone for SymbolKind
source§fn clone(&self) -> SymbolKind
fn clone(&self) -> SymbolKind
Returns a copy 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 SymbolKind
impl Debug for SymbolKind
source§impl<'de> Deserialize<'de> for SymbolKind
impl<'de> Deserialize<'de> for SymbolKind
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 SymbolKind
impl PartialEq for SymbolKind
source§fn eq(&self, other: &SymbolKind) -> bool
fn eq(&self, other: &SymbolKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SymbolKind
impl Serialize for SymbolKind
source§impl TryFrom<&str> for SymbolKind
impl TryFrom<&str> for SymbolKind
impl Copy for SymbolKind
impl Eq for SymbolKind
impl StructuralPartialEq for SymbolKind
Auto Trait Implementations§
impl Freeze for SymbolKind
impl RefUnwindSafe for SymbolKind
impl Send for SymbolKind
impl Sync for SymbolKind
impl Unpin for SymbolKind
impl UnwindSafe for SymbolKind
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