pub enum SemanticTokenKind {
Namespace,
Class,
Struct,
Variable,
Property,
Event,
Function,
String,
}Variants§
Trait Implementations§
Source§impl Clone for SemanticTokenKind
impl Clone for SemanticTokenKind
Source§fn clone(&self) -> SemanticTokenKind
fn clone(&self) -> SemanticTokenKind
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 moreimpl Copy for SemanticTokenKind
Source§impl Debug for SemanticTokenKind
impl Debug for SemanticTokenKind
impl Eq for SemanticTokenKind
Source§impl PartialEq for SemanticTokenKind
impl PartialEq for SemanticTokenKind
Source§fn eq(&self, other: &SemanticTokenKind) -> bool
fn eq(&self, other: &SemanticTokenKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SemanticTokenKind
Auto Trait Implementations§
impl Freeze for SemanticTokenKind
impl RefUnwindSafe for SemanticTokenKind
impl Send for SemanticTokenKind
impl Sync for SemanticTokenKind
impl Unpin for SemanticTokenKind
impl UnsafeUnpin for SemanticTokenKind
impl UnwindSafe for SemanticTokenKind
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.