#[repr(C)]pub struct led_info {
pub label: *const u8,
pub index: u32,
pub num_colors: u8,
pub color_mapping: *const u8,
}Expand description
@brief LED information structure
This structure gathers useful information about LED controller.
Fields§
§label: *const u8LED label
index: u32Index of the LED on the controller
num_colors: u8Number of colors per LED
color_mapping: *const u8Mapping of the LED colors
Trait Implementations§
Auto Trait Implementations§
impl Freeze for led_info
impl RefUnwindSafe for led_info
impl !Send for led_info
impl !Sync for led_info
impl Unpin for led_info
impl UnwindSafe for led_info
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