pub struct Command {
pub periodic: bool,
pub duration_ms: usize,
}Available on crate feature
api-timer only.Expand description
Timer configuration.
Fields§
§periodic: boolWhether the timer should periodically trigger.
duration_ms: usizeDuration in milliseconds after which the timer should trigger.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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