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
impl Clone for TextDocumentClientCapabilities
source§fn clone(&self) -> TextDocumentClientCapabilities
fn clone(&self) -> TextDocumentClientCapabilities
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TextDocumentClientCapabilities
impl Default for TextDocumentClientCapabilities
source§fn default() -> TextDocumentClientCapabilities
fn default() -> TextDocumentClientCapabilities
source§impl<'de> Deserialize<'de> for TextDocumentClientCapabilities
impl<'de> Deserialize<'de> for TextDocumentClientCapabilities
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>,
source§impl PartialEq for TextDocumentClientCapabilities
impl PartialEq for TextDocumentClientCapabilities
source§fn eq(&self, other: &TextDocumentClientCapabilities) -> bool
fn eq(&self, other: &TextDocumentClientCapabilities) -> bool
self
and other
values to be equal, and is used
by ==
.impl Eq for TextDocumentClientCapabilities
impl StructuralEq for TextDocumentClientCapabilities
impl StructuralPartialEq for TextDocumentClientCapabilities
Auto Trait Implementations§
impl RefUnwindSafe for TextDocumentClientCapabilities
impl Send for TextDocumentClientCapabilities
impl Sync for TextDocumentClientCapabilities
impl Unpin for TextDocumentClientCapabilities
impl UnwindSafe for TextDocumentClientCapabilities
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.