pub enum SemanticTokenName {
Show 17 variants
Bg,
BgSecondary,
Surface,
SurfaceElevated,
Text,
TextMuted,
Border,
BorderStrong,
Accent,
AccentHover,
AccentActive,
AccentFg,
Selection,
Link,
Success,
Warning,
Error,
}Variants§
Bg
BgSecondary
Surface
SurfaceElevated
Text
TextMuted
Border
BorderStrong
Accent
AccentHover
AccentActive
AccentFg
Selection
Link
Success
Warning
Error
Implementations§
Trait Implementations§
Source§impl Clone for SemanticTokenName
impl Clone for SemanticTokenName
Source§fn clone(&self) -> SemanticTokenName
fn clone(&self) -> SemanticTokenName
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 SemanticTokenName
Source§impl Debug for SemanticTokenName
impl Debug for SemanticTokenName
Source§impl Default for SemanticTokenName
impl Default for SemanticTokenName
Source§fn default() -> SemanticTokenName
fn default() -> SemanticTokenName
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SemanticTokenName
impl<'de> Deserialize<'de> for SemanticTokenName
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 Display for SemanticTokenName
impl Display for SemanticTokenName
impl Eq for SemanticTokenName
Source§impl FromStr for SemanticTokenName
impl FromStr for SemanticTokenName
Source§impl Hash for SemanticTokenName
impl Hash for SemanticTokenName
Source§impl Ord for SemanticTokenName
impl Ord for SemanticTokenName
Source§fn cmp(&self, other: &SemanticTokenName) -> Ordering
fn cmp(&self, other: &SemanticTokenName) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SemanticTokenName
impl PartialEq for SemanticTokenName
Source§impl PartialOrd for SemanticTokenName
impl PartialOrd for SemanticTokenName
Source§impl Serialize for SemanticTokenName
impl Serialize for SemanticTokenName
impl StructuralPartialEq for SemanticTokenName
Auto Trait Implementations§
impl Freeze for SemanticTokenName
impl RefUnwindSafe for SemanticTokenName
impl Send for SemanticTokenName
impl Sync for SemanticTokenName
impl Unpin for SemanticTokenName
impl UnsafeUnpin for SemanticTokenName
impl UnwindSafe for SemanticTokenName
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