#[repr(u8)]pub enum EnhancedColorMode {
Currenthueandcurrentsaturation = 0,
Currentxandcurrenty = 1,
Colortemperaturemireds = 2,
Enhancedcurrenthueandcurrentsaturation = 3,
}Variants§
Currenthueandcurrentsaturation = 0
The current hue and saturation attributes determine the color.
Currentxandcurrenty = 1
The current X and Y attributes determine the color.
Colortemperaturemireds = 2
The color temperature attribute determines the color.
Enhancedcurrenthueandcurrentsaturation = 3
The enhanced current hue and saturation attributes determine the color.
Implementations§
Trait Implementations§
Source§impl Clone for EnhancedColorMode
impl Clone for EnhancedColorMode
Source§fn clone(&self) -> EnhancedColorMode
fn clone(&self) -> EnhancedColorMode
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 EnhancedColorMode
impl Debug for EnhancedColorMode
Source§impl<'de> Deserialize<'de> for EnhancedColorMode
impl<'de> Deserialize<'de> for EnhancedColorMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<EnhancedColorMode> for u8
impl From<EnhancedColorMode> for u8
Source§fn from(val: EnhancedColorMode) -> Self
fn from(val: EnhancedColorMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EnhancedColorMode
impl PartialEq for EnhancedColorMode
Source§impl Serialize for EnhancedColorMode
impl Serialize for EnhancedColorMode
impl Copy for EnhancedColorMode
impl Eq for EnhancedColorMode
impl StructuralPartialEq for EnhancedColorMode
Auto Trait Implementations§
impl Freeze for EnhancedColorMode
impl RefUnwindSafe for EnhancedColorMode
impl Send for EnhancedColorMode
impl Sync for EnhancedColorMode
impl Unpin for EnhancedColorMode
impl UnwindSafe for EnhancedColorMode
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