Struct esp_idf_svc::sys::esp_now_rate_config
source · #[repr(C)]pub struct esp_now_rate_config {
pub phymode: u32,
pub rate: u32,
pub ersu: bool,
pub dcm: bool,
}
Expand description
@brief ESPNOW rate config
Fields§
§phymode: u32
< ESPNOW phymode of specified interface
rate: u32
< ESPNOW rate of specified interface
ersu: bool
< ESPNOW using ersu send frame
dcm: bool
< ESPNOW using dcm rate to send frame
Trait Implementations§
source§impl Clone for esp_now_rate_config
impl Clone for esp_now_rate_config
source§fn clone(&self) -> esp_now_rate_config
fn clone(&self) -> esp_now_rate_config
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 esp_now_rate_config
impl Debug for esp_now_rate_config
source§impl Default for esp_now_rate_config
impl Default for esp_now_rate_config
source§fn default() -> esp_now_rate_config
fn default() -> esp_now_rate_config
Returns the “default value” for a type. Read more
impl Copy for esp_now_rate_config
Auto Trait Implementations§
impl Freeze for esp_now_rate_config
impl RefUnwindSafe for esp_now_rate_config
impl Send for esp_now_rate_config
impl Sync for esp_now_rate_config
impl Unpin for esp_now_rate_config
impl UnwindSafe for esp_now_rate_config
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
)