pub struct WifiChannel(/* private fields */);Implementations§
Source§impl WifiChannel
impl WifiChannel
pub const DEFAULT_SOCIAL: WifiChannel
pub const fn new(mhz: u16) -> Option<WifiChannel>
pub const fn as_mhz(self) -> u16
pub const fn band(self) -> Band
pub const fn supports_colocated_group(self) -> bool
Trait Implementations§
Source§impl Clone for WifiChannel
impl Clone for WifiChannel
Source§fn clone(&self) -> WifiChannel
fn clone(&self) -> WifiChannel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WifiChannel
Source§impl Debug for WifiChannel
impl Debug for WifiChannel
impl Eq for WifiChannel
Source§impl PartialEq for WifiChannel
impl PartialEq for WifiChannel
impl StructuralPartialEq for WifiChannel
Auto Trait Implementations§
impl Freeze for WifiChannel
impl RefUnwindSafe for WifiChannel
impl Send for WifiChannel
impl Sync for WifiChannel
impl Unpin for WifiChannel
impl UnsafeUnpin for WifiChannel
impl UnwindSafe for WifiChannel
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