Struct esp_wifi_sys::include::coex_adapter_funcs_t

source ·
#[repr(C)]
pub struct coex_adapter_funcs_t {
Show 18 fields pub _version: i32, pub _task_yield_from_isr: Option<unsafe extern "C" fn()>, pub _semphr_create: Option<unsafe extern "C" fn(max: u32, init: u32) -> *mut c_void>, pub _semphr_delete: Option<unsafe extern "C" fn(semphr: *mut c_void)>, pub _semphr_take_from_isr: Option<unsafe extern "C" fn(semphr: *mut c_void, hptw: *mut c_void) -> i32>, pub _semphr_give_from_isr: Option<unsafe extern "C" fn(semphr: *mut c_void, hptw: *mut c_void) -> i32>, pub _semphr_take: Option<unsafe extern "C" fn(semphr: *mut c_void, block_time_tick: u32) -> i32>, pub _semphr_give: Option<unsafe extern "C" fn(semphr: *mut c_void) -> i32>, pub _is_in_isr: Option<unsafe extern "C" fn() -> c_int>, pub _malloc_internal: Option<unsafe extern "C" fn(size: usize) -> *mut c_void>, pub _free: Option<unsafe extern "C" fn(p: *mut c_void)>, pub _esp_timer_get_time: Option<unsafe extern "C" fn() -> i64>, pub _env_is_chip: Option<unsafe extern "C" fn() -> bool>, pub _timer_disarm: Option<unsafe extern "C" fn(timer: *mut c_void)>, pub _timer_done: Option<unsafe extern "C" fn(ptimer: *mut c_void)>, pub _timer_setfn: Option<unsafe extern "C" fn(ptimer: *mut c_void, pfunction: *mut c_void, parg: *mut c_void)>, pub _timer_arm_us: Option<unsafe extern "C" fn(ptimer: *mut c_void, us: u32, repeat: bool)>, pub _magic: i32,
}

Fields§

§_version: i32§_task_yield_from_isr: Option<unsafe extern "C" fn()>§_semphr_create: Option<unsafe extern "C" fn(max: u32, init: u32) -> *mut c_void>§_semphr_delete: Option<unsafe extern "C" fn(semphr: *mut c_void)>§_semphr_take_from_isr: Option<unsafe extern "C" fn(semphr: *mut c_void, hptw: *mut c_void) -> i32>§_semphr_give_from_isr: Option<unsafe extern "C" fn(semphr: *mut c_void, hptw: *mut c_void) -> i32>§_semphr_take: Option<unsafe extern "C" fn(semphr: *mut c_void, block_time_tick: u32) -> i32>§_semphr_give: Option<unsafe extern "C" fn(semphr: *mut c_void) -> i32>§_is_in_isr: Option<unsafe extern "C" fn() -> c_int>§_malloc_internal: Option<unsafe extern "C" fn(size: usize) -> *mut c_void>§_free: Option<unsafe extern "C" fn(p: *mut c_void)>§_esp_timer_get_time: Option<unsafe extern "C" fn() -> i64>§_env_is_chip: Option<unsafe extern "C" fn() -> bool>§_timer_disarm: Option<unsafe extern "C" fn(timer: *mut c_void)>§_timer_done: Option<unsafe extern "C" fn(ptimer: *mut c_void)>§_timer_setfn: Option<unsafe extern "C" fn(ptimer: *mut c_void, pfunction: *mut c_void, parg: *mut c_void)>§_timer_arm_us: Option<unsafe extern "C" fn(ptimer: *mut c_void, us: u32, repeat: bool)>§_magic: i32

Trait Implementations§

source§

impl Clone for coex_adapter_funcs_t

source§

fn clone(&self) -> coex_adapter_funcs_t

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for coex_adapter_funcs_t

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.