Struct autd3_timer::Timer [−][src]
pub struct Timer<F: TimerCallback> { /* fields omitted */ }
Implementations
impl<F: TimerCallback> Timer<F>
[src]
impl<F: TimerCallback> Timer<F>
[src]pub fn start(cb: F, period_ns: u32) -> Result<Box<Self>, TimerError>
[src]
pub fn close(self) -> Result<F, TimerError>
[src]
Auto Trait Implementations
impl<F> RefUnwindSafe for Timer<F> where
F: RefUnwindSafe,
F: RefUnwindSafe,
impl<F> Send for Timer<F> where
F: Send,
F: Send,
impl<F> Sync for Timer<F> where
F: Sync,
F: Sync,
impl<F> Unpin for Timer<F> where
F: Unpin,
F: Unpin,
impl<F> UnwindSafe for Timer<F> where
F: UnwindSafe,
F: UnwindSafe,