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§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.