pub struct DefaultLight;Trait Implementations§
Source§impl Base16Palette for DefaultLight
impl Base16Palette for DefaultLight
fn to_rgb(&self, color: Base16Color) -> (u8, u8, u8)
fn to_hex_str(&self, color: Base16Color) -> &'static str
Source§impl Clone for DefaultLight
impl Clone for DefaultLight
Source§fn clone(&self) -> DefaultLight
fn clone(&self) -> DefaultLight
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 moreimpl Copy for DefaultLight
Source§impl Debug for DefaultLight
impl Debug for DefaultLight
Source§impl Default for DefaultLight
impl Default for DefaultLight
Source§fn default() -> DefaultLight
fn default() -> DefaultLight
Returns the “default value” for a type. Read more
impl Eq for DefaultLight
Source§impl From<DefaultLight> for DefaultPalette
impl From<DefaultLight> for DefaultPalette
Source§fn from(v: DefaultLight) -> DefaultPalette
fn from(v: DefaultLight) -> DefaultPalette
Converts to this type from the input type.
Source§impl PartialEq for DefaultLight
impl PartialEq for DefaultLight
Source§fn eq(&self, other: &DefaultLight) -> bool
fn eq(&self, other: &DefaultLight) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DefaultLight
Source§impl TryInto<DefaultLight> for DefaultPalette
impl TryInto<DefaultLight> for DefaultPalette
Auto Trait Implementations§
impl Freeze for DefaultLight
impl RefUnwindSafe for DefaultLight
impl Send for DefaultLight
impl Sync for DefaultLight
impl Unpin for DefaultLight
impl UnsafeUnpin for DefaultLight
impl UnwindSafe for DefaultLight
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