pub struct SemanticTokens {
pub text: Color,
pub text_muted: Color,
pub background: Color,
pub surface: Color,
pub accent: Color,
pub accent_text: Color,
pub success: Color,
pub warning: Color,
pub error: Color,
pub border: Color,
}Expand description
Colors named for their display meaning rather than a rendering technology.
Fields§
§text: Color§text_muted: Color§background: Color§surface: Color§accent: Color§accent_text: Color§success: Color§warning: Color§error: Color§border: ColorTrait 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 PartialEq for SemanticTokens
impl PartialEq for SemanticTokens
Source§fn eq(&self, other: &SemanticTokens) -> bool
fn eq(&self, other: &SemanticTokens) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SemanticTokens
impl Eq 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