Struct r3::kernel::raw_cfg::TimerDescriptor
source · pub struct TimerDescriptor<System> {
pub phantom: PhantomData<fn(_: System) -> System>,
pub start: Closure,
pub active: bool,
pub delay: Option<Duration>,
pub period: Option<Duration>,
}
Expand description
The basic properties of a timer.
Fields
phantom: PhantomData<fn(_: System) -> System>
start: Closure
active: bool
delay: Option<Duration>
period: Option<Duration>
Trait Implementations
Auto Trait Implementations
impl<System> RefUnwindSafe for TimerDescriptor<System>
impl<System> Send for TimerDescriptor<System>
impl<System> Sync for TimerDescriptor<System>
impl<System> Unpin for TimerDescriptor<System>
impl<System> UnwindSafe for TimerDescriptor<System>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more