Enum homie_controller::ColorFormat
source · pub enum ColorFormat {
Rgb,
Hsv,
}
Expand description
The format of a colour property, either RGB or HSV.
Variants§
Trait Implementations§
source§impl Clone for ColorFormat
impl Clone for ColorFormat
source§fn clone(&self) -> ColorFormat
fn clone(&self) -> ColorFormat
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 ColorFormat
impl Debug for ColorFormat
source§impl Display for ColorFormat
impl Display for ColorFormat
source§impl FromStr for ColorFormat
impl FromStr for ColorFormat
source§impl PartialEq<ColorFormat> for ColorFormat
impl PartialEq<ColorFormat> for ColorFormat
source§fn eq(&self, other: &ColorFormat) -> bool
fn eq(&self, other: &ColorFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.