pub enum ColorEditInputMode {
Rgb,
Hsv,
}
Expand description
Color editor input mode.
Variants§
Implementations§
Source§impl ColorEditInputMode
impl ColorEditInputMode
Sourcepub const RGB: ColorEditInputMode = Self::Rgb
pub const RGB: ColorEditInputMode = Self::Rgb
Edit as RGB(A). Alias for Self::Rgb
for backwards-compatibility.
Sourcepub const HSV: ColorEditInputMode = Self::Hsv
pub const HSV: ColorEditInputMode = Self::Hsv
Edit as HSV(A). Alias for Self::Hsv
for backwards-compatibility.
Trait Implementations§
Source§impl Clone for ColorEditInputMode
impl Clone for ColorEditInputMode
Source§fn clone(&self) -> ColorEditInputMode
fn clone(&self) -> ColorEditInputMode
Returns a copy 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 ColorEditInputMode
impl Debug for ColorEditInputMode
Source§impl PartialEq for ColorEditInputMode
impl PartialEq for ColorEditInputMode
impl Copy for ColorEditInputMode
impl Eq for ColorEditInputMode
impl StructuralPartialEq for ColorEditInputMode
Auto Trait Implementations§
impl Freeze for ColorEditInputMode
impl RefUnwindSafe for ColorEditInputMode
impl Send for ColorEditInputMode
impl Sync for ColorEditInputMode
impl Unpin for ColorEditInputMode
impl UnwindSafe for ColorEditInputMode
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