pub struct ClientCapabilities(ClientCapabilities);Tuple Fields§
§0: ClientCapabilitiesImplementations§
Source§impl ClientCapabilities
impl ClientCapabilities
pub fn new(caps: ClientCapabilities) -> Self
fn completions_resolve_provider(&self) -> bool
fn inlay_hints_resolve_provider(&self) -> bool
fn experimental_bool(&self, index: &'static str) -> bool
fn experimental<T: DeserializeOwned>(&self, index: &'static str) -> Option<T>
pub fn has_completion_item_resolve_additionalTextEdits(&self) -> bool
pub fn completion_label_details_support(&self) -> bool
fn completion_item(&self) -> Option<CompletionOptionsCompletionItem>
fn code_action_capabilities(&self) -> CodeActionProviderCapability
pub fn negotiated_encoding(&self) -> PositionEncoding
pub fn workspace_edit_resource_operations( &self, ) -> Option<&[ResourceOperationKind]>
pub fn semantics_tokens_augments_syntax_tokens(&self) -> bool
pub fn did_save_text_document_dynamic_registration(&self) -> bool
pub fn did_change_watched_files_dynamic_registration(&self) -> bool
pub fn did_change_watched_files_relative_pattern_support(&self) -> bool
pub fn location_link(&self) -> bool
pub fn line_folding_only(&self) -> bool
pub fn hierarchical_symbols(&self) -> bool
pub fn code_action_literals(&self) -> bool
pub fn work_done_progress(&self) -> bool
pub fn will_rename(&self) -> bool
pub fn change_annotation_support(&self) -> bool
pub fn code_action_resolve(&self) -> bool
pub fn signature_help_label_offsets(&self) -> bool
pub fn text_document_diagnostic(&self) -> bool
pub fn code_action_group(&self) -> bool
pub fn commands(&self) -> Option<ClientCommandOptions>
pub fn local_docs(&self) -> bool
pub fn open_server_logs(&self) -> bool
pub fn server_status_notification(&self) -> bool
pub fn snippet_text_edit(&self) -> bool
pub fn hover_actions(&self) -> bool
Sourcepub fn color_diagnostic_output(&self) -> bool
pub fn color_diagnostic_output(&self) -> bool
Whether the client supports colored output for full diagnostics from checkOnSave.
pub fn test_explorer(&self) -> bool
pub fn completion_snippet(&self) -> bool
pub fn semantic_tokens_refresh(&self) -> bool
pub fn code_lens_refresh(&self) -> bool
pub fn inlay_hints_refresh(&self) -> bool
pub fn diagnostics_refresh(&self) -> bool
pub fn inlay_hint_resolve_support_properties(&self) -> FxHashSet<&str>
pub fn completion_resolve_support_properties(&self) -> FxHashSet<&str>
pub fn hover_markdown_support(&self) -> bool
pub fn insert_replace_support(&self) -> bool
Trait Implementations§
Source§impl Clone for ClientCapabilities
impl Clone for ClientCapabilities
Source§fn clone(&self) -> ClientCapabilities
fn clone(&self) -> ClientCapabilities
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 ClientCapabilities
impl Debug for ClientCapabilities
Source§impl Default for ClientCapabilities
impl Default for ClientCapabilities
Source§fn default() -> ClientCapabilities
fn default() -> ClientCapabilities
Returns the “default value” for a type. Read more
Source§impl PartialEq for ClientCapabilities
impl PartialEq for ClientCapabilities
impl StructuralPartialEq for ClientCapabilities
Auto Trait Implementations§
impl Freeze for ClientCapabilities
impl RefUnwindSafe for ClientCapabilities
impl Send for ClientCapabilities
impl Sync for ClientCapabilities
impl Unpin for ClientCapabilities
impl UnwindSafe for ClientCapabilities
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<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more