[−][src]Struct ws2812_timer_delay::Ws2812
Methods
impl<TIMER, PIN> Ws2812<TIMER, PIN> where
TIMER: CountDown + Periodic,
PIN: OutputPin,
[src]
TIMER: CountDown + Periodic,
PIN: OutputPin,
pub fn new(timer: TIMER, pin: PIN) -> Ws2812<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<TIMER, PIN> Unpin for Ws2812<TIMER, PIN> where
PIN: Unpin,
TIMER: Unpin,
PIN: Unpin,
TIMER: Unpin,
impl<TIMER, PIN> Send for Ws2812<TIMER, PIN> where
PIN: Send,
TIMER: Send,
PIN: Send,
TIMER: Send,
impl<TIMER, PIN> Sync for Ws2812<TIMER, PIN> where
PIN: Sync,
TIMER: Sync,
PIN: Sync,
TIMER: Sync,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
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<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> 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<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> 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,