Struct wlan_common::RadioConfig
source · pub struct RadioConfig {
pub phy: WlanPhyType,
pub channel: Channel,
}
Fields§
§phy: WlanPhyType
§channel: Channel
Implementations§
source§impl RadioConfig
impl RadioConfig
pub fn new(phy: WlanPhyType, cbw: Cbw, primary_channel: u8) -> Self
Trait Implementations§
source§impl Clone for RadioConfig
impl Clone for RadioConfig
source§fn clone(&self) -> RadioConfig
fn clone(&self) -> RadioConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RadioConfig
impl Debug for RadioConfig
source§impl From<RadioConfig> for RadioConfig
impl From<RadioConfig> for RadioConfig
source§fn from(radio_cfg: RadioConfig) -> RadioConfig
fn from(radio_cfg: RadioConfig) -> RadioConfig
Converts to this type from the input type.
source§impl From<RadioConfig> for RadioConfig
impl From<RadioConfig> for RadioConfig
source§fn from(fidl_radio_cfg: RadioConfig) -> RadioConfig
fn from(fidl_radio_cfg: RadioConfig) -> RadioConfig
Converts to this type from the input type.
source§impl PartialEq<RadioConfig> for RadioConfig
impl PartialEq<RadioConfig> for RadioConfig
source§fn eq(&self, other: &RadioConfig) -> bool
fn eq(&self, other: &RadioConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.