[−][src]Struct ws2812_timer_delay::Ws2812
Methods
impl<'a, TIMER, PIN> Ws2812<'a, TIMER, PIN> where
TIMER: CountDown + Periodic,
PIN: OutputPin,
[src]
TIMER: CountDown + Periodic,
PIN: OutputPin,
pub fn new(timer: TIMER, pin: &'a mut PIN) -> Ws2812<'a, TIMER, PIN>
[src]
The timer has to already run at with a frequency of 3 MHz
Trait Implementations
impl<TIMER, PIN, '_> SmartLedsWrite for Ws2812<'_, TIMER, PIN> where
TIMER: CountDown + Periodic,
PIN: OutputPin,
[src]
TIMER: CountDown + Periodic,
PIN: OutputPin,
Auto Trait Implementations
impl<'a, TIMER, PIN> Send for Ws2812<'a, TIMER, PIN> where
PIN: Send,
TIMER: Send,
PIN: Send,
TIMER: Send,
impl<'a, TIMER, PIN> Sync for Ws2812<'a, TIMER, PIN> where
PIN: Sync,
TIMER: Sync,
PIN: Sync,
TIMER: Sync,
Blanket Implementations
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,