Struct esp_idf_hal::sys::_ETSTIMER_
source · #[repr(C)]pub struct _ETSTIMER_ {
pub timer_next: *mut _ETSTIMER_,
pub timer_expire: u32,
pub timer_period: u32,
pub timer_func: Option<unsafe extern "C" fn(_: *mut c_void)>,
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: Option<unsafe extern "C" fn(_: *mut c_void)>
< timer handler
timer_arg: *mut c_void
< timer handler argument
Trait Implementations§
source§impl Clone for _ETSTIMER_
impl Clone for _ETSTIMER_
source§fn clone(&self) -> _ETSTIMER_
fn clone(&self) -> _ETSTIMER_
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for _ETSTIMER_
impl Debug for _ETSTIMER_
source§impl Default for _ETSTIMER_
impl Default for _ETSTIMER_
source§fn default() -> _ETSTIMER_
fn default() -> _ETSTIMER_
Returns the “default value” for a type. Read more
impl Copy for _ETSTIMER_
Auto Trait Implementations§
impl Freeze for _ETSTIMER_
impl RefUnwindSafe for _ETSTIMER_
impl !Send for _ETSTIMER_
impl !Sync for _ETSTIMER_
impl Unpin for _ETSTIMER_
impl UnwindSafe for _ETSTIMER_
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)