pub struct LifxColor {
pub hue: u16,
pub saturation: u16,
pub kelvin: u16,
pub brightness: u16,
}
Expand description
Represents an LIFX Color
Fields§
§hue: u16
§saturation: u16
§kelvin: u16
§brightness: u16
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LifxColor
impl RefUnwindSafe for LifxColor
impl Send for LifxColor
impl Sync for LifxColor
impl Unpin for LifxColor
impl UnwindSafe for LifxColor
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