Enum huelib::resource::ColorMode [−][src]
pub enum ColorMode {
ColorTemperature,
HueAndSaturation,
ColorSpaceCoordinates,
}
Expand description
Color mode of a light.
Variants
Uses a color temperatue to set the color of a light.
Uses hue and saturation to set the color of a light.
Uses x and y coordinates in the color space to set the color of a light.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for ColorMode
impl UnwindSafe for ColorMode
Blanket Implementations
Mutably borrows from an owned value. Read more