pub struct TextDocumentClientCapabilities {
Show 26 fields pub synchronization: Option<TextDocumentSyncClientCapabilities>, pub completion: Option<CompletionClientCapabilities>, pub hover: Option<HoverClientCapabilities>, pub signature_help: Option<SignatureHelpClientCapabilities>, pub references: Option<ReferenceClientCapabilities>, pub document_highlight: Option<DocumentHighlightClientCapabilities>, pub document_symbol: Option<DocumentSymbolClientCapabilities>, pub formatting: Option<DocumentFormattingClientCapabilities>, pub range_formatting: Option<DocumentRangeFormattingClientCapabilities>, pub on_type_formatting: Option<DocumentOnTypeFormattingClientCapabilities>, pub declaration: Option<GotoCapability>, pub definition: Option<GotoCapability>, pub type_definition: Option<GotoCapability>, pub implementation: Option<GotoCapability>, pub code_action: Option<CodeActionClientCapabilities>, pub code_lens: Option<CodeLensClientCapabilities>, pub document_link: Option<DocumentLinkClientCapabilities>, pub color_provider: Option<DocumentColorClientCapabilities>, pub rename: Option<RenameClientCapabilities>, pub publish_diagnostics: Option<PublishDiagnosticsClientCapabilities>, pub folding_range: Option<FoldingRangeClientCapabilities>, pub selection_range: Option<SelectionRangeClientCapabilities>, pub linked_editing_range: Option<LinkedEditingRangeClientCapabilities>, pub call_hierarchy: Option<CallHierarchyClientCapabilities>, pub semantic_tokens: Option<SemanticTokensClientCapabilities>, pub moniker: Option<MonikerClientCapabilities>,
}
Expand description

Text document specific client capabilities.

Fields§

§synchronization: Option<TextDocumentSyncClientCapabilities>§completion: Option<CompletionClientCapabilities>

Capabilities specific to the textDocument/completion

§hover: Option<HoverClientCapabilities>

Capabilities specific to the textDocument/hover

§signature_help: Option<SignatureHelpClientCapabilities>

Capabilities specific to the textDocument/signatureHelp

§references: Option<ReferenceClientCapabilities>

Capabilities specific to the textDocument/references

§document_highlight: Option<DocumentHighlightClientCapabilities>

Capabilities specific to the textDocument/documentHighlight

§document_symbol: Option<DocumentSymbolClientCapabilities>

Capabilities specific to the textDocument/documentSymbol

§formatting: Option<DocumentFormattingClientCapabilities>

Capabilities specific to the textDocument/formatting

§range_formatting: Option<DocumentRangeFormattingClientCapabilities>

Capabilities specific to the textDocument/rangeFormatting

§on_type_formatting: Option<DocumentOnTypeFormattingClientCapabilities>

Capabilities specific to the textDocument/onTypeFormatting

§declaration: Option<GotoCapability>

Capabilities specific to the textDocument/declaration

§definition: Option<GotoCapability>

Capabilities specific to the textDocument/definition

§type_definition: Option<GotoCapability>

Capabilities specific to the textDocument/typeDefinition

§implementation: Option<GotoCapability>

Capabilities specific to the textDocument/implementation

§code_action: Option<CodeActionClientCapabilities>

Capabilities specific to the textDocument/codeAction

§code_lens: Option<CodeLensClientCapabilities>

Capabilities specific to the textDocument/codeLens

§document_link: Option<DocumentLinkClientCapabilities>

Capabilities specific to the textDocument/documentLink

§color_provider: Option<DocumentColorClientCapabilities>

Capabilities specific to the textDocument/documentColor and the textDocument/colorPresentation request.

§rename: Option<RenameClientCapabilities>

Capabilities specific to the textDocument/rename

§publish_diagnostics: Option<PublishDiagnosticsClientCapabilities>

Capabilities specific to textDocument/publishDiagnostics.

§folding_range: Option<FoldingRangeClientCapabilities>

Capabilities specific to textDocument/foldingRange requests.

§selection_range: Option<SelectionRangeClientCapabilities>

Capabilities specific to the textDocument/selectionRange request.

@since 3.15.0

§linked_editing_range: Option<LinkedEditingRangeClientCapabilities>

Capabilities specific to textDocument/linkedEditingRange requests.

@since 3.16.0

§call_hierarchy: Option<CallHierarchyClientCapabilities>

Capabilities specific to the various call hierarchy requests.

@since 3.16.0

§semantic_tokens: Option<SemanticTokensClientCapabilities>

Capabilities specific to the textDocument/semanticTokens/* requests.

§moniker: Option<MonikerClientCapabilities>

Capabilities specific to the textDocument/moniker request.

@since 3.16.0

Trait Implementations§

source§

impl Clone for TextDocumentClientCapabilities

source§

fn clone(&self) -> TextDocumentClientCapabilities

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TextDocumentClientCapabilities

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TextDocumentClientCapabilities

source§

fn default() -> TextDocumentClientCapabilities

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for TextDocumentClientCapabilities

source§

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 TextDocumentClientCapabilities

source§

fn eq(&self, other: &TextDocumentClientCapabilities) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TextDocumentClientCapabilities

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TextDocumentClientCapabilities

source§

impl StructuralEq for TextDocumentClientCapabilities

source§

impl StructuralPartialEq for TextDocumentClientCapabilities

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,