#[repr(C)]pub struct repeating_timer {
pub delay_us: i64,
pub pool: *mut alarm_pool_t,
pub alarm_id: alarm_id_t,
pub callback: repeating_timer_callback_t,
pub user_data: *mut c_void,
}
Expand description
\brief Information about a repeating timer \ingroup repeating_timer \return
Fields§
§delay_us: i64
§pool: *mut alarm_pool_t
§alarm_id: alarm_id_t
§callback: repeating_timer_callback_t
§user_data: *mut c_void
Trait Implementations§
Source§impl Clone for repeating_timer
impl Clone for repeating_timer
Source§fn clone(&self) -> repeating_timer
fn clone(&self) -> repeating_timer
Returns a duplicate 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 repeating_timer
impl Debug for repeating_timer
impl Copy for repeating_timer
Auto Trait Implementations§
impl Freeze for repeating_timer
impl RefUnwindSafe for repeating_timer
impl !Send for repeating_timer
impl !Sync for repeating_timer
impl Unpin for repeating_timer
impl UnwindSafe for repeating_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