#[repr(C)]pub struct ztimer_t {
pub base: ztimer_base_t,
pub callback: ztimer_callback_t,
pub arg: *mut c_void,
}
Expand description
@brief ztimer structure
This type represents an instance of a timer, which is set on an underlying clock object
Fields§
§base: ztimer_base_t
< clock list entry
callback: ztimer_callback_t
< timer callback function pointer
arg: *mut c_void
< timer callback argument
Trait Implementations§
impl Copy for ztimer_t
Auto Trait Implementations§
impl RefUnwindSafe for ztimer_t
impl !Send for ztimer_t
impl !Sync for ztimer_t
impl Unpin for ztimer_t
impl UnwindSafe for ztimer_t
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