#[repr(transparent)]pub struct CWChannelWidth(pub NSInteger);
Available on crate feature
CoreWLANTypes
only.Expand description
Channel width values returned by -[CWChannel channelWidth].
Unknown channel width.
20MHz channel width.
40MHz channel width.
80MHz channel width.
160MHz channel width.
See also Apple’s documentation
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl CWChannelWidth
impl CWChannelWidth
pub const WidthUnknown: Self
pub const Width20MHz: Self
pub const Width40MHz: Self
pub const Width80MHz: Self
pub const Width160MHz: Self
Trait Implementations§
Source§impl Clone for CWChannelWidth
impl Clone for CWChannelWidth
Source§fn clone(&self) -> CWChannelWidth
fn clone(&self) -> CWChannelWidth
Returns a duplicate 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 CWChannelWidth
impl Debug for CWChannelWidth
Source§impl Encode for CWChannelWidth
impl Encode for CWChannelWidth
Source§impl Hash for CWChannelWidth
impl Hash for CWChannelWidth
Source§impl Ord for CWChannelWidth
impl Ord for CWChannelWidth
Source§fn cmp(&self, other: &CWChannelWidth) -> Ordering
fn cmp(&self, other: &CWChannelWidth) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CWChannelWidth
impl PartialEq for CWChannelWidth
Source§impl PartialOrd for CWChannelWidth
impl PartialOrd for CWChannelWidth
Source§impl RefEncode for CWChannelWidth
impl RefEncode for CWChannelWidth
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for CWChannelWidth
impl Eq for CWChannelWidth
impl StructuralPartialEq for CWChannelWidth
Auto Trait Implementations§
impl Freeze for CWChannelWidth
impl RefUnwindSafe for CWChannelWidth
impl Send for CWChannelWidth
impl Sync for CWChannelWidth
impl Unpin for CWChannelWidth
impl UnwindSafe for CWChannelWidth
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§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.