#[repr(C)]pub struct wifi_tx_rate_config_t {
pub phymode: u32,
pub rate: u32,
pub ersu: bool,
pub dcm: bool,
}Expand description
@brief Argument structure for wifi_tx_rate_config
Fields§
§phymode: u32< Phymode of specified interface
rate: u32< Rate of specified interface
ersu: bool< Using ERSU to send frame, ERSU is a transmission mode related to 802.11 ax. ERSU is always used in long distance transmission, and its frame has lower rate compared with SU mode
dcm: bool< Using dcm rate to send frame
Trait Implementations§
Source§impl Clone for wifi_tx_rate_config_t
impl Clone for wifi_tx_rate_config_t
Source§fn clone(&self) -> wifi_tx_rate_config_t
fn clone(&self) -> wifi_tx_rate_config_t
Returns a duplicate 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 wifi_tx_rate_config_t
impl Debug for wifi_tx_rate_config_t
Source§impl Default for wifi_tx_rate_config_t
impl Default for wifi_tx_rate_config_t
Source§fn default() -> wifi_tx_rate_config_t
fn default() -> wifi_tx_rate_config_t
Returns the “default value” for a type. Read more
impl Copy for wifi_tx_rate_config_t
Auto Trait Implementations§
impl Freeze for wifi_tx_rate_config_t
impl RefUnwindSafe for wifi_tx_rate_config_t
impl Send for wifi_tx_rate_config_t
impl Sync for wifi_tx_rate_config_t
impl Unpin for wifi_tx_rate_config_t
impl UnsafeUnpin for wifi_tx_rate_config_t
impl UnwindSafe for wifi_tx_rate_config_t
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,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)