pub struct TextDocumentClientCapabilities {
Show 21 fields pub synchronization: Option<SynchronizationCapability>, pub completion: Option<CompletionCapability>, pub hover: Option<HoverCapability>, pub signature_help: Option<SignatureHelpCapability>, pub references: Option<GenericCapability>, pub document_highlight: Option<GenericCapability>, pub document_symbol: Option<DocumentSymbolCapability>, pub formatting: Option<GenericCapability>, pub range_formatting: Option<GenericCapability>, pub on_type_formatting: Option<GenericCapability>, pub declaration: Option<GotoCapability>, pub definition: Option<GotoCapability>, pub type_definition: Option<GotoCapability>, pub implementation: Option<GotoCapability>, pub code_action: Option<CodeActionCapability>, pub code_lens: Option<GenericCapability>, pub document_link: Option<GenericCapability>, pub color_provider: Option<GenericCapability>, pub rename: Option<RenameCapability>, pub publish_diagnostics: Option<PublishDiagnosticsCapability>, pub folding_range: Option<FoldingRangeCapability>,
}
Expand description

Text document specific client capabilities.

Fields§

§synchronization: Option<SynchronizationCapability>§completion: Option<CompletionCapability>

Capabilities specific to the textDocument/completion

§hover: Option<HoverCapability>

Capabilities specific to the textDocument/hover

§signature_help: Option<SignatureHelpCapability>

Capabilities specific to the textDocument/signatureHelp

§references: Option<GenericCapability>

Capabilities specific to the textDocument/references

§document_highlight: Option<GenericCapability>

Capabilities specific to the textDocument/documentHighlight

§document_symbol: Option<DocumentSymbolCapability>

Capabilities specific to the textDocument/documentSymbol

§formatting: Option<GenericCapability>

Capabilities specific to the textDocument/formatting

§range_formatting: Option<GenericCapability>

Capabilities specific to the textDocument/rangeFormatting

§on_type_formatting: Option<GenericCapability>

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<CodeActionCapability>

Capabilities specific to the textDocument/codeAction

§code_lens: Option<GenericCapability>

Capabilities specific to the textDocument/codeLens

§document_link: Option<GenericCapability>

Capabilities specific to the textDocument/documentLink

§color_provider: Option<GenericCapability>

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

§rename: Option<RenameCapability>

Capabilities specific to the textDocument/rename

§publish_diagnostics: Option<PublishDiagnosticsCapability>

Capabilities specific to textDocument/publishDiagnostics.

§folding_range: Option<FoldingRangeCapability>

Capabilities specific to textDocument/foldingRange requests.

Trait Implementations§

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.