Struct anstyle_svg::Palette
source · pub struct Palette(pub [RgbColor; 16]);
Expand description
A color palette for rendering 4-bit anstyle::AnsiColor
Tuple Fields§
§0: [RgbColor; 16]
Implementations§
Trait Implementations§
source§impl PartialEq for Palette
impl PartialEq for Palette
impl Copy for Palette
impl Eq for Palette
impl StructuralPartialEq for Palette
Auto Trait Implementations§
impl Freeze for Palette
impl RefUnwindSafe for Palette
impl Send for Palette
impl Sync for Palette
impl Unpin for Palette
impl UnwindSafe for Palette
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