[−][src]Struct lsp_types::SemanticTokensClientCapabilities
Capabilities specific to the textDocument/semanticTokens/*
requests.
@since 3.16.0
Fields
dynamic_registration: Option<bool>
Whether implementation supports dynamic registration. If this is set to true
the client supports the new (TextDocumentRegistrationOptions & StaticRegistrationOptions)
return value for the corresponding server capability as well.
requests: SemanticTokensClientCapabilitiesRequests
Which requests the client supports and might send to the server
depending on the server's capability. Please note that clients might not
show semantic tokens or degrade some of the user experience if a range
or full request is advertised by the client but not provided by the
server. If for example the client capability requests.full
and
request.range
are both set to true but the server only provides a
range provider the client might not render a minimap correctly or might
even decide to not show any semantic tokens at all.
token_types: Vec<SemanticTokenType>
The token types that the client supports.
token_modifiers: Vec<SemanticTokenModifier>
The token modifiers that the client supports.
formats: Vec<TokenFormat>
The token formats the clients supports.
overlapping_token_support: Option<bool>
Whether the client supports tokens that can overlap each other.
multiline_token_support: Option<bool>
Whether the client supports tokens that can span multiple lines.
Trait Implementations
impl Clone for SemanticTokensClientCapabilities
[src]
pub fn clone(&self) -> SemanticTokensClientCapabilities
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SemanticTokensClientCapabilities
[src]
impl Default for SemanticTokensClientCapabilities
[src]
pub fn default() -> SemanticTokensClientCapabilities
[src]
impl<'de> Deserialize<'de> for SemanticTokensClientCapabilities
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for SemanticTokensClientCapabilities
[src]
impl PartialEq<SemanticTokensClientCapabilities> for SemanticTokensClientCapabilities
[src]
pub fn eq(&self, other: &SemanticTokensClientCapabilities) -> bool
[src]
pub fn ne(&self, other: &SemanticTokensClientCapabilities) -> bool
[src]
impl Serialize for SemanticTokensClientCapabilities
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for SemanticTokensClientCapabilities
[src]
impl StructuralPartialEq for SemanticTokensClientCapabilities
[src]
Auto Trait Implementations
impl RefUnwindSafe for SemanticTokensClientCapabilities
[src]
impl Send for SemanticTokensClientCapabilities
[src]
impl Sync for SemanticTokensClientCapabilities
[src]
impl Unpin for SemanticTokensClientCapabilities
[src]
impl UnwindSafe for SemanticTokensClientCapabilities
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,