pub enum Base16Shade {
Dark(Shade),
Light(Shade),
}Expand description
Every Base16 color palette contains 8 “shades”. These are split between 4 “dark” and 4 “light” shades.
Variants§
Trait Implementations§
Source§impl Clone for Base16Shade
impl Clone for Base16Shade
Source§fn clone(&self) -> Base16Shade
fn clone(&self) -> Base16Shade
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 Base16Shade
impl Debug for Base16Shade
Source§impl PartialEq for Base16Shade
impl PartialEq for Base16Shade
impl Copy for Base16Shade
impl Eq for Base16Shade
impl StructuralPartialEq for Base16Shade
Auto Trait Implementations§
impl Freeze for Base16Shade
impl RefUnwindSafe for Base16Shade
impl Send for Base16Shade
impl Sync for Base16Shade
impl Unpin for Base16Shade
impl UnwindSafe for Base16Shade
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