pub enum PaletteColor {
PALETTE_COLOR_ONE,
PALETTE_COLOR_TWO,
PALETTE_COLOR_THREE,
PALETTE_COLOR_FOUR,
PALETTE_COLOR_FIVE,
PALETTE_COLOR_SIX,
PALETTE_COLOR_SEVEN,
PALETTE_COLOR_EIGHT,
PALETTE_COLORS,
}
Variants§
PALETTE_COLOR_ONE
PALETTE_COLOR_TWO
PALETTE_COLOR_THREE
PALETTE_COLOR_FOUR
PALETTE_COLOR_FIVE
PALETTE_COLOR_SIX
PALETTE_COLOR_SEVEN
PALETTE_COLOR_EIGHT
PALETTE_COLORS
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
Source§impl PartialEq for PaletteColor
impl PartialEq for PaletteColor
Source§impl PartialOrd for PaletteColor
impl PartialOrd for PaletteColor
impl Copy for PaletteColor
impl Eq for PaletteColor
impl StructuralPartialEq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more