[][src]Struct tamasfe_lsp_types::SymbolKindCapability

pub struct SymbolKindCapability {
    pub value_set: Option<Vec<SymbolKind>>,
}

Specific capabilities for the SymbolKind in the workspace/symbol request.

Fields

value_set: Option<Vec<SymbolKind>>

The symbol kind values the client supports. When this property exists the client also guarantees that it will handle values outside its set gracefully and falls back to a default value when unknown.

If this property is not present the client only supports the symbol kinds from File to Array as defined in the initial version of the protocol.

Trait Implementations

impl Clone for SymbolKindCapability[src]

impl Debug for SymbolKindCapability[src]

impl Default for SymbolKindCapability[src]

impl<'de> Deserialize<'de> for SymbolKindCapability[src]

impl Eq for SymbolKindCapability[src]

impl PartialEq<SymbolKindCapability> for SymbolKindCapability[src]

impl Serialize for SymbolKindCapability[src]

impl StructuralEq for SymbolKindCapability[src]

impl StructuralPartialEq for SymbolKindCapability[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.