#[repr(C)]pub struct led_rgb {
pub r: u8,
pub g: u8,
pub b: u8,
}Expand description
@brief Color value for a single RGB LED.
Individual strip drivers may ignore lower-order bits if their resolution in any channel is less than a full byte.
Fields§
§r: u8Red channel
g: u8Green channel
b: u8Blue channel
Trait Implementations§
Auto Trait Implementations§
impl Freeze for led_rgb
impl RefUnwindSafe for led_rgb
impl Send for led_rgb
impl Sync for led_rgb
impl Unpin for led_rgb
impl UnwindSafe for led_rgb
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