#[repr(u8)]pub enum ProviderType {
Show 26 variants
Completion = 0,
Hover = 1,
SignatureHelp = 2,
Definition = 3,
TypeDefinition = 4,
Implementation = 5,
References = 6,
DocumentHighlight = 7,
DocumentSymbol = 8,
WorkSpaceSymbol = 9,
CodeAction = 10,
CodeLens = 11,
DocumentFormatting = 12,
DocumentRangeFormatting = 13,
OnTypeFormatting = 14,
Rename = 15,
DocumentLink = 16,
Color = 17,
FoldingRange = 18,
Declaration = 19,
SelectionRange = 20,
InlayHint = 21,
CallHierarchy = 22,
SemanticTokens = 23,
LinkedEditingRange = 24,
TypeHierarchy = 25,
}Expand description
An enum that provides a unique identifier for each type of language feature. This is used to register and query for specific provider implementations.
Variants§
Completion = 0
Hover = 1
SignatureHelp = 2
Definition = 3
TypeDefinition = 4
Implementation = 5
References = 6
DocumentHighlight = 7
DocumentSymbol = 8
WorkSpaceSymbol = 9
CodeAction = 10
CodeLens = 11
DocumentFormatting = 12
DocumentRangeFormatting = 13
OnTypeFormatting = 14
Rename = 15
DocumentLink = 16
Color = 17
FoldingRange = 18
Declaration = 19
SelectionRange = 20
InlayHint = 21
CallHierarchy = 22
SemanticTokens = 23
LinkedEditingRange = 24
TypeHierarchy = 25
Trait Implementations§
Source§impl Clone for ProviderType
impl Clone for ProviderType
Source§fn clone(&self) -> ProviderType
fn clone(&self) -> ProviderType
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 ProviderType
impl Debug for ProviderType
Source§impl<'de> Deserialize<'de> for ProviderType
impl<'de> Deserialize<'de> for ProviderType
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 Display for ProviderType
impl Display for ProviderType
Source§impl Hash for ProviderType
impl Hash for ProviderType
Source§impl PartialEq for ProviderType
impl PartialEq for ProviderType
Source§impl Serialize for ProviderType
impl Serialize for ProviderType
impl Copy for ProviderType
impl Eq for ProviderType
impl StructuralPartialEq for ProviderType
Auto Trait Implementations§
impl Freeze for ProviderType
impl RefUnwindSafe for ProviderType
impl Send for ProviderType
impl Sync for ProviderType
impl Unpin for ProviderType
impl UnwindSafe for ProviderType
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,
§impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.