pub enum ColorInputMode {
Rgb,
Hsv,
}Expand description
Single input/output color space for color edit and picker widgets.
Variants§
Trait Implementations§
Source§impl Clone for ColorInputMode
impl Clone for ColorInputMode
Source§fn clone(&self) -> ColorInputMode
fn clone(&self) -> ColorInputMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ColorInputMode
impl Debug for ColorInputMode
Source§impl Hash for ColorInputMode
impl Hash for ColorInputMode
Source§impl PartialEq for ColorInputMode
impl PartialEq for ColorInputMode
Source§fn eq(&self, other: &ColorInputMode) -> bool
fn eq(&self, other: &ColorInputMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ColorInputMode
impl Eq for ColorInputMode
impl StructuralPartialEq for ColorInputMode
Auto Trait Implementations§
impl Freeze for ColorInputMode
impl RefUnwindSafe for ColorInputMode
impl Send for ColorInputMode
impl Sync for ColorInputMode
impl Unpin for ColorInputMode
impl UnsafeUnpin for ColorInputMode
impl UnwindSafe for ColorInputMode
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