#[repr(transparent)]pub struct CWChannelBand(pub NSInteger);
Available on crate feature
CoreWLANTypes
only.Expand description
Channel band values returned by -[CWChannel channelBand].
Unknown channel band.
2.4GHz channel band.
5GHz channel band.
6GHz channel band.
See also Apple’s documentation
Tuple Fields§
§0: NSInteger
Implementations§
Trait Implementations§
Source§impl Clone for CWChannelBand
impl Clone for CWChannelBand
Source§fn clone(&self) -> CWChannelBand
fn clone(&self) -> CWChannelBand
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 CWChannelBand
impl Debug for CWChannelBand
Source§impl Encode for CWChannelBand
impl Encode for CWChannelBand
Source§impl Hash for CWChannelBand
impl Hash for CWChannelBand
Source§impl Ord for CWChannelBand
impl Ord for CWChannelBand
Source§fn cmp(&self, other: &CWChannelBand) -> Ordering
fn cmp(&self, other: &CWChannelBand) -> 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 CWChannelBand
impl PartialEq for CWChannelBand
Source§impl PartialOrd for CWChannelBand
impl PartialOrd for CWChannelBand
Source§impl RefEncode for CWChannelBand
impl RefEncode for CWChannelBand
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 CWChannelBand
impl Eq for CWChannelBand
impl StructuralPartialEq for CWChannelBand
Auto Trait Implementations§
impl Freeze for CWChannelBand
impl RefUnwindSafe for CWChannelBand
impl Send for CWChannelBand
impl Sync for CWChannelBand
impl Unpin for CWChannelBand
impl UnwindSafe for CWChannelBand
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.