pub struct SemanticTokens {Show 17 fields
pub bg: HexColor,
pub bg_secondary: HexColor,
pub surface: HexColor,
pub surface_elevated: HexColor,
pub text: HexColor,
pub text_muted: HexColor,
pub border: HexColor,
pub border_strong: HexColor,
pub accent: HexColor,
pub accent_hover: HexColor,
pub accent_active: HexColor,
pub accent_fg: HexColor,
pub selection: HexColor,
pub link: HexColor,
pub success: HexColor,
pub warning: HexColor,
pub error: HexColor,
}Fields§
§bg: HexColor§bg_secondary: HexColor§surface: HexColor§surface_elevated: HexColor§text: HexColor§text_muted: HexColor§border: HexColor§border_strong: HexColor§accent: HexColor§accent_hover: HexColor§accent_active: HexColor§accent_fg: HexColor§selection: HexColor§link: HexColor§success: HexColor§warning: HexColor§error: HexColorTrait Implementations§
Source§impl Clone for SemanticTokens
impl Clone for SemanticTokens
Source§fn clone(&self) -> SemanticTokens
fn clone(&self) -> SemanticTokens
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 SemanticTokens
impl Debug for SemanticTokens
Source§impl Default for SemanticTokens
impl Default for SemanticTokens
Source§fn default() -> SemanticTokens
fn default() -> SemanticTokens
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SemanticTokens
impl<'de> Deserialize<'de> for SemanticTokens
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
impl Eq for SemanticTokens
Source§impl PartialEq for SemanticTokens
impl PartialEq for SemanticTokens
Source§impl Serialize for SemanticTokens
impl Serialize for SemanticTokens
impl StructuralPartialEq for SemanticTokens
Auto Trait Implementations§
impl Freeze for SemanticTokens
impl RefUnwindSafe for SemanticTokens
impl Send for SemanticTokens
impl Sync for SemanticTokens
impl Unpin for SemanticTokens
impl UnsafeUnpin for SemanticTokens
impl UnwindSafe for SemanticTokens
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