pub struct Ws2812<SPI: SpiBus<u8>, C: OrderedColors, const N: usize> { /* private fields */ }
Expand description
N = 12 * NUM_LEDS
Implementations§
Trait Implementations§
Source§impl<SPI, E, C: OrderedColors, const N: usize> SmartLedsWriteAsync for Ws2812<SPI, C, N>
impl<SPI, E, C: OrderedColors, const N: usize> SmartLedsWriteAsync for Ws2812<SPI, C, N>
Auto Trait Implementations§
impl<SPI, C, const N: usize> Freeze for Ws2812<SPI, C, N>where
SPI: Freeze,
impl<SPI, C, const N: usize> RefUnwindSafe for Ws2812<SPI, C, N>where
SPI: RefUnwindSafe,
C: RefUnwindSafe,
impl<SPI, C, const N: usize> Send for Ws2812<SPI, C, N>
impl<SPI, C, const N: usize> Sync for Ws2812<SPI, C, N>
impl<SPI, C, const N: usize> Unpin for Ws2812<SPI, C, N>
impl<SPI, C, const N: usize> UnwindSafe for Ws2812<SPI, C, N>where
SPI: UnwindSafe,
C: UnwindSafe,
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