pub enum Token {
Show 24 variants
Muted,
Dim,
Strong,
Em,
Accent,
Success,
Warning,
Error,
Info,
Pending,
Code,
Mono,
Path,
Key,
Link,
Num,
Ins,
Del,
Mark,
Typo,
Icon,
Hide,
Title,
Other(String),
}Expand description
A span style token (several join with spaces; palette tokens through
Other).
Variants§
Muted
Quiet text.
Dim
Quieter text.
Strong
Weight 600.
Em
Italic.
Accent
The accent color.
Success
Success color.
Warning
Warning color.
Error
Error color.
Info
Info color.
Pending
The pending tone’s color: waiting on someone.
Code
An inline code chip.
Mono
Tabular figures.
Path
A file path.
Key
A keycap.
Link
Link color.
Num
A number.
Ins
Inserted text.
Del
Deleted text.
Mark
A highlight.
Typo
A misspelled word.
Icon
A Nerd Font glyph.
Hide
Not drawn.
Title
A page’s title in its head row (Geist 15px, weight 550).
Other(String)
A value this SDK doesn’t name.
Implementations§
Trait Implementations§
impl Eq for Token
impl StructuralPartialEq for Token
Auto Trait Implementations§
impl Freeze for Token
impl RefUnwindSafe for Token
impl Send for Token
impl Sync for Token
impl Unpin for Token
impl UnsafeUnpin for Token
impl UnwindSafe for Token
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§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.