Struct esp_idf_sys::_ETSTIMER_
source · [−]#[repr(C)]pub struct _ETSTIMER_ {
pub timer_next: *mut _ETSTIMER_,
pub timer_expire: u32,
pub timer_period: u32,
pub timer_func: ETSTimerFunc,
pub timer_arg: *mut c_void,
}
Fields
timer_next: *mut _ETSTIMER_
< timer linker
timer_expire: u32
< abstruct time when timer expire
timer_period: u32
< timer period, 0 means timer is not periodic repeated
timer_func: ETSTimerFunc
< timer handler
timer_arg: *mut c_void
< timer handler argument
Trait Implementations
sourceimpl Clone for _ETSTIMER_
impl Clone for _ETSTIMER_
sourcefn clone(&self) -> _ETSTIMER_
fn clone(&self) -> _ETSTIMER_
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for _ETSTIMER_
impl Debug for _ETSTIMER_
sourceimpl Default for _ETSTIMER_
impl Default for _ETSTIMER_
impl Copy for _ETSTIMER_
Auto Trait Implementations
impl RefUnwindSafe for _ETSTIMER_
impl !Send for _ETSTIMER_
impl !Sync for _ETSTIMER_
impl Unpin for _ETSTIMER_
impl UnwindSafe for _ETSTIMER_
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more