pub enum TypeHierarchySymbolKind {
Class = 5,
Method = 6,
Function = 12,
}Expand description
Kind of symbol in the type hierarchy (LSP protocol values)
This enum uses explicit discriminant values matching the LSP protocol SymbolKind values for direct wire serialization.
Variants§
Class = 5
A class or package (LSP value 5)
Method = 6
A method (LSP value 6)
Function = 12
A function (LSP value 12)
Trait Implementations§
Source§impl Clone for TypeHierarchySymbolKind
impl Clone for TypeHierarchySymbolKind
Source§fn clone(&self) -> TypeHierarchySymbolKind
fn clone(&self) -> TypeHierarchySymbolKind
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 TypeHierarchySymbolKind
impl Debug for TypeHierarchySymbolKind
Source§impl<'de> Deserialize<'de> for TypeHierarchySymbolKind
impl<'de> Deserialize<'de> for TypeHierarchySymbolKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeHierarchySymbolKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeHierarchySymbolKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for TypeHierarchySymbolKind
impl Serialize for TypeHierarchySymbolKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for TypeHierarchySymbolKind
Auto Trait Implementations§
impl Freeze for TypeHierarchySymbolKind
impl RefUnwindSafe for TypeHierarchySymbolKind
impl Send for TypeHierarchySymbolKind
impl Sync for TypeHierarchySymbolKind
impl Unpin for TypeHierarchySymbolKind
impl UnsafeUnpin for TypeHierarchySymbolKind
impl UnwindSafe for TypeHierarchySymbolKind
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