pub enum SemanticTokensOptionsRange {
Bool(bool),
Object(LspObject),
}Variants§
Trait Implementations§
Source§impl Clone for SemanticTokensOptionsRange
impl Clone for SemanticTokensOptionsRange
Source§fn clone(&self) -> SemanticTokensOptionsRange
fn clone(&self) -> SemanticTokensOptionsRange
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 SemanticTokensOptionsRange
impl Debug for SemanticTokensOptionsRange
Source§impl<'de> Deserialize<'de> for SemanticTokensOptionsRange
impl<'de> Deserialize<'de> for SemanticTokensOptionsRange
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<bool> for SemanticTokensOptionsRange
impl From<bool> for SemanticTokensOptionsRange
Source§impl PartialEq for SemanticTokensOptionsRange
impl PartialEq for SemanticTokensOptionsRange
Source§fn eq(&self, other: &SemanticTokensOptionsRange) -> bool
fn eq(&self, other: &SemanticTokensOptionsRange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SemanticTokensOptionsRange
impl StructuralPartialEq for SemanticTokensOptionsRange
Auto Trait Implementations§
impl Freeze for SemanticTokensOptionsRange
impl RefUnwindSafe for SemanticTokensOptionsRange
impl Send for SemanticTokensOptionsRange
impl Sync for SemanticTokensOptionsRange
impl Unpin for SemanticTokensOptionsRange
impl UnsafeUnpin for SemanticTokensOptionsRange
impl UnwindSafe for SemanticTokensOptionsRange
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