#[repr(C)]pub struct event_timeout_t {
pub clock: *mut ztimer_clock_t,
pub timer: ztimer_t,
pub queue: *mut event_queue_t,
pub event: *mut event_t,
}
Expand description
@brief Timeout Event structure
Fields§
§clock: *mut ztimer_clock_t
< ztimer clock to use
timer: ztimer_t
< ztimer object used for timeout
queue: *mut event_queue_t
< event queue to post event to
event: *mut event_t
< event to post after timeout
Trait Implementations§
Source§impl Clone for event_timeout_t
impl Clone for event_timeout_t
Source§fn clone(&self) -> event_timeout_t
fn clone(&self) -> event_timeout_t
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for event_timeout_t
impl Debug for event_timeout_t
Source§impl Default for event_timeout_t
impl Default for event_timeout_t
impl Copy for event_timeout_t
Auto Trait Implementations§
impl Freeze for event_timeout_t
impl RefUnwindSafe for event_timeout_t
impl !Send for event_timeout_t
impl !Sync for event_timeout_t
impl Unpin for event_timeout_t
impl UnwindSafe for event_timeout_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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 28 bytes