#[repr(u8)]pub enum PaletteType {
Auto = 0,
Hls = 1,
Rgb = 2,
}
Expand description
Configuration settings for choosing the palette color space.
Variants§
Implementations§
Source§impl PaletteType
impl PaletteType
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new PaletteType.
Trait Implementations§
Source§impl Clone for PaletteType
impl Clone for PaletteType
Source§fn clone(&self) -> PaletteType
fn clone(&self) -> PaletteType
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 PaletteType
impl Debug for PaletteType
Source§impl Default for PaletteType
impl Default for PaletteType
Source§fn default() -> PaletteType
fn default() -> PaletteType
Returns the “default value” for a type. Read more
Source§impl PartialEq for PaletteType
impl PartialEq for PaletteType
impl Copy for PaletteType
impl StructuralPartialEq for PaletteType
Auto Trait Implementations§
impl Freeze for PaletteType
impl RefUnwindSafe for PaletteType
impl Send for PaletteType
impl Sync for PaletteType
impl Unpin for PaletteType
impl UnwindSafe for PaletteType
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