#[repr(C)]pub struct k_timer {
pub timeout: _timeout,
pub wait_q: _wait_q_t,
pub expiry_fn: Option<unsafe extern "C" fn(_: *mut k_timer)>,
pub stop_fn: Option<unsafe extern "C" fn(_: *mut k_timer)>,
pub period: k_timeout_t,
pub status: u32,
pub user_data: *mut c_void,
}
Expand description
@cond INTERNAL_HIDDEN
Fields§
§timeout: _timeout
§wait_q: _wait_q_t
§expiry_fn: Option<unsafe extern "C" fn(_: *mut k_timer)>
§stop_fn: Option<unsafe extern "C" fn(_: *mut k_timer)>
§period: k_timeout_t
§status: u32
§user_data: *mut c_void
Auto Trait Implementations§
impl Freeze for k_timer
impl RefUnwindSafe for k_timer
impl !Send for k_timer
impl !Sync for k_timer
impl Unpin for k_timer
impl UnwindSafe for k_timer
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