pub struct SemanticTokenLegend {
pub token_types: Vec<SemanticTokenKind>,
pub token_modifiers: Vec<SemanticTokenModifier>,
}Fields§
§token_types: Vec<SemanticTokenKind>§token_modifiers: Vec<SemanticTokenModifier>Trait Implementations§
Source§impl Clone for SemanticTokenLegend
impl Clone for SemanticTokenLegend
Source§fn clone(&self) -> SemanticTokenLegend
fn clone(&self) -> SemanticTokenLegend
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 SemanticTokenLegend
impl Debug for SemanticTokenLegend
impl Eq for SemanticTokenLegend
Source§impl PartialEq for SemanticTokenLegend
impl PartialEq for SemanticTokenLegend
Source§fn eq(&self, other: &SemanticTokenLegend) -> bool
fn eq(&self, other: &SemanticTokenLegend) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SemanticTokenLegend
Auto Trait Implementations§
impl Freeze for SemanticTokenLegend
impl RefUnwindSafe for SemanticTokenLegend
impl Send for SemanticTokenLegend
impl Sync for SemanticTokenLegend
impl Unpin for SemanticTokenLegend
impl UnsafeUnpin for SemanticTokenLegend
impl UnwindSafe for SemanticTokenLegend
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.