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.