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 ==
.impl Eq for ColorFormat
impl StructuralEq for ColorFormat
impl StructuralPartialEq for ColorFormat
Auto Trait Implementations§
impl RefUnwindSafe for ColorFormat
impl Send for ColorFormat
impl Sync for ColorFormat
impl Unpin for ColorFormat
impl UnwindSafe for ColorFormat
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