Skip to main content

Base24Slots

Struct Base24Slots 

Source
pub struct Base24Slots {
Show 24 fields pub base00: String, pub base01: String, pub base02: String, pub base03: String, pub base04: String, pub base05: String, pub base06: String, pub base07: String, pub base08: String, pub base09: String, pub base0a: String, pub base0b: String, pub base0c: String, pub base0d: String, pub base0e: String, pub base0f: String, pub base10: String, pub base11: String, pub base12: String, pub base13: String, pub base14: String, pub base15: String, pub base16: String, pub base17: String,
}
Expand description

The raw base24 color slots (base00–base17) as #rrggbb hex strings.

These are the canonical values from which all TCA semantic fields are derived. base16-only themes leave base10–base17 set to their spec-defined fallbacks.

Fields§

§base00: String

Darkest background / ANSI black background.

§base01: String

Secondary background.

§base02: String

Selection / border background.

§base03: String

Comments / bright black (ANSI 8).

§base04: String

Muted / dark foreground.

§base05: String

Primary foreground / white (ANSI 7).

§base06: String

Secondary foreground.

§base07: String

Bright white (ANSI 15).

§base08: String

Red / error (ANSI 1).

§base09: String

Orange / warning.

§base0a: String

Yellow (ANSI 3).

§base0b: String

Green / success (ANSI 2).

§base0c: String

Cyan / info (ANSI 6).

§base0d: String

Blue / link (ANSI 4).

§base0e: String

Magenta / highlight (ANSI 5).

§base0f: String

Brown / deprecated.

§base10: String

True black (ANSI 0 terminal color). Fallback: base00.

§base11: String

Reserved. Fallback: base00.

§base12: String

Bright red (ANSI 9). Fallback: base08.

§base13: String

Bright yellow (ANSI 11). Fallback: base0a.

§base14: String

Bright green (ANSI 10). Fallback: base0b.

§base15: String

Bright cyan (ANSI 14). Fallback: base0c.

§base16: String

Bright blue (ANSI 12). Fallback: base0d.

§base17: String

Bright magenta (ANSI 13). Fallback: base0e.

Trait Implementations§

Source§

impl Clone for Base24Slots

Source§

fn clone(&self) -> Base24Slots

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Base24Slots

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for Base24Slots

Source§

fn eq(&self, other: &Base24Slots) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for Base24Slots

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for Base24Slots

Source§

impl StructuralPartialEq for Base24Slots

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.