pub enum Base16Color {
Shade(Base16Shade),
Accent(Base16Accent),
}Expand description
The universal representation of a Base16 color palette.
Variants§
Shade(Base16Shade)
Accent(Base16Accent)
Implementations§
Source§impl Base16Color
impl Base16Color
Source§impl Base16Color
impl Base16Color
pub const fn default_fg() -> Self
pub const fn default_bg() -> Self
pub const fn dark_1() -> Self
pub const fn dark_2() -> Self
pub const fn dark_3() -> Self
pub const fn dark_4() -> Self
pub const fn light_1() -> Self
pub const fn light_2() -> Self
pub const fn light_3() -> Self
pub const fn light_4() -> Self
Trait Implementations§
Source§impl Clone for Base16Color
impl Clone for Base16Color
Source§fn clone(&self) -> Base16Color
fn clone(&self) -> Base16Color
Returns a duplicate of the value. Read more
1.0.0 · 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 Base16Color
impl Debug for Base16Color
Source§impl PartialEq for Base16Color
impl PartialEq for Base16Color
impl Copy for Base16Color
impl Eq for Base16Color
impl StructuralPartialEq for Base16Color
Auto Trait Implementations§
impl Freeze for Base16Color
impl RefUnwindSafe for Base16Color
impl Send for Base16Color
impl Sync for Base16Color
impl Unpin for Base16Color
impl UnwindSafe for Base16Color
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