pub enum SimpleColorPickerMode {
Hsl,
Hsv,
Rgb,
Oklch,
}Expand description
The channel sliders a SimpleColorPicker shows.
Variants§
Hsl
Hsv
Rgb
Oklch
Perceptual lightness, chroma, and hue. Equal lightness steps look equally bright across hues, which suits editing theme colors. Chroma beyond the editing space’s gamut is reduced to fit, keeping lightness and hue; the chroma track marks where that begins.
Trait Implementations§
Source§impl Clone for SimpleColorPickerMode
impl Clone for SimpleColorPickerMode
impl Copy for SimpleColorPickerMode
Source§impl Debug for SimpleColorPickerMode
impl Debug for SimpleColorPickerMode
impl Eq for SimpleColorPickerMode
Source§impl PartialEq for SimpleColorPickerMode
impl PartialEq for SimpleColorPickerMode
impl StructuralPartialEq for SimpleColorPickerMode
Auto Trait Implementations§
impl Forget for SimpleColorPickerMode
impl Freeze for SimpleColorPickerMode
impl Move for SimpleColorPickerMode
impl RefUnwindSafe for SimpleColorPickerMode
impl Send for SimpleColorPickerMode
impl Sync for SimpleColorPickerMode
impl Unpin for SimpleColorPickerMode
impl UnsafeUnpin for SimpleColorPickerMode
impl UnwindSafe for SimpleColorPickerMode
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