Struct wasefire_applet_api::clock::start::Params
source · #[repr(C)]pub struct Params {
pub id: usize,
pub mode: usize,
pub duration_ms: usize,
}Expand description
Parameters of start
Fields§
§id: usizeThe identifier of the timer to start.
It must come from an allocated timer that wasn’t stopped.
mode: usizeWhether the timer should periodically fire.
Valid values are defined by Mode.
duration_ms: usizeHow long until the timer triggers in milli-seconds.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Params
impl Send for Params
impl Sync for Params
impl Unpin for Params
impl UnwindSafe for Params
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