#[repr(C)]pub struct ztimer_base {
pub next: *mut ztimer_base_t,
pub offset: u32,
}
Expand description
@brief Minimum information for each timer
Fields§
§next: *mut ztimer_base_t
< next timer in list
offset: u32
< offset from last timer in list
Trait Implementations§
Source§impl Clone for ztimer_base
impl Clone for ztimer_base
Source§fn clone(&self) -> ztimer_base
fn clone(&self) -> ztimer_base
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 ztimer_base
impl Debug for ztimer_base
Source§impl Default for ztimer_base
impl Default for ztimer_base
impl Copy for ztimer_base
Auto Trait Implementations§
impl Freeze for ztimer_base
impl RefUnwindSafe for ztimer_base
impl !Send for ztimer_base
impl !Sync for ztimer_base
impl Unpin for ztimer_base
impl UnwindSafe for ztimer_base
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: 8 bytes