pub struct Led { /* private fields */ }Expand description
A single logical LED exposed by a Zephyr LED controller.
This wrapper maps to Zephyr’s led_* API. Devicetree child nodes of a pwm-leds controller
become instances of this type.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Led
impl RefUnwindSafe for Led
impl !Sync for Led
impl Unpin for Led
impl UnwindSafe for Led
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