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 PartialEq for RadioConfig
impl PartialEq for RadioConfig
Source§impl TryFrom<RadioConfig> for RadioConfig
impl TryFrom<RadioConfig> for RadioConfig
impl StructuralPartialEq for RadioConfig
Auto Trait Implementations§
impl Freeze for RadioConfig
impl RefUnwindSafe for RadioConfig
impl Send for RadioConfig
impl Sync for RadioConfig
impl Unpin for RadioConfig
impl UnwindSafe for RadioConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§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
)