pub enum ColorDisplayMode {
Rgb,
Hsv,
Hex,
}Expand description
Single display mode for color edit widgets.
Variants§
Trait Implementations§
Source§impl Clone for ColorDisplayMode
impl Clone for ColorDisplayMode
Source§fn clone(&self) -> ColorDisplayMode
fn clone(&self) -> ColorDisplayMode
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 ColorDisplayMode
impl Debug for ColorDisplayMode
Source§impl Hash for ColorDisplayMode
impl Hash for ColorDisplayMode
Source§impl PartialEq for ColorDisplayMode
impl PartialEq for ColorDisplayMode
Source§fn eq(&self, other: &ColorDisplayMode) -> bool
fn eq(&self, other: &ColorDisplayMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ColorDisplayMode
impl Eq for ColorDisplayMode
impl StructuralPartialEq for ColorDisplayMode
Auto Trait Implementations§
impl Freeze for ColorDisplayMode
impl RefUnwindSafe for ColorDisplayMode
impl Send for ColorDisplayMode
impl Sync for ColorDisplayMode
impl Unpin for ColorDisplayMode
impl UnsafeUnpin for ColorDisplayMode
impl UnwindSafe for ColorDisplayMode
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