pub enum SemanticTokensProvider {
SemanticTokensOptions(SemanticTokensOptions),
SemanticTokensRegistrationOptions(SemanticTokensRegistrationOptions),
}Variants§
SemanticTokensOptions(SemanticTokensOptions)
SemanticTokensRegistrationOptions(SemanticTokensRegistrationOptions)
Trait Implementations§
Source§impl Clone for SemanticTokensProvider
impl Clone for SemanticTokensProvider
Source§fn clone(&self) -> SemanticTokensProvider
fn clone(&self) -> SemanticTokensProvider
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SemanticTokensProvider
impl Debug for SemanticTokensProvider
Source§impl<'de> Deserialize<'de> for SemanticTokensProvider
impl<'de> Deserialize<'de> for SemanticTokensProvider
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SemanticTokensOptions> for SemanticTokensProvider
impl From<SemanticTokensOptions> for SemanticTokensProvider
Source§fn from(v: SemanticTokensOptions) -> Self
fn from(v: SemanticTokensOptions) -> Self
Converts to this type from the input type.
Source§impl From<SemanticTokensRegistrationOptions> for SemanticTokensProvider
impl From<SemanticTokensRegistrationOptions> for SemanticTokensProvider
Source§fn from(v: SemanticTokensRegistrationOptions) -> Self
fn from(v: SemanticTokensRegistrationOptions) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SemanticTokensProvider
impl PartialEq for SemanticTokensProvider
Source§fn eq(&self, other: &SemanticTokensProvider) -> bool
fn eq(&self, other: &SemanticTokensProvider) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SemanticTokensProvider
impl Serialize for SemanticTokensProvider
impl Eq for SemanticTokensProvider
impl StructuralPartialEq for SemanticTokensProvider
Auto Trait Implementations§
impl Freeze for SemanticTokensProvider
impl RefUnwindSafe for SemanticTokensProvider
impl Send for SemanticTokensProvider
impl Sync for SemanticTokensProvider
impl Unpin for SemanticTokensProvider
impl UnsafeUnpin for SemanticTokensProvider
impl UnwindSafe for SemanticTokensProvider
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