pub struct PaletteColor { /* private fields */ }Expand description
Represents a single palette entry with a truecolor + ANSI fallback.
Implementations§
Trait Implementations§
Source§impl Clone for PaletteColor
impl Clone for PaletteColor
Source§fn clone(&self) -> PaletteColor
fn clone(&self) -> PaletteColor
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 PaletteColor
impl Debug for PaletteColor
impl Copy for PaletteColor
Auto Trait Implementations§
impl Freeze for PaletteColor
impl RefUnwindSafe for PaletteColor
impl Send for PaletteColor
impl Sync for PaletteColor
impl Unpin for PaletteColor
impl UnwindSafe for PaletteColor
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