#[repr(C)]pub struct Color {
pub red: f64,
pub green: f64,
pub blue: f64,
}Expand description
Represents colors that can be used with Addressable LEDs.
Limited to 12 bits of precision.
Fields§
§red: f64§green: f64§blue: f64Trait Implementations§
Auto Trait Implementations§
impl Freeze for Color
impl RefUnwindSafe for Color
impl Send for Color
impl Sync for Color
impl Unpin for Color
impl UnwindSafe for Color
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