#[repr(transparent)]pub struct CWInterfaceMode(pub NSInteger);
Available on crate feature
CoreWLANTypes
only.Expand description
Wi-Fi interface operating modes returned by -[CWInterface interfaceMode].
Interface is not in any mode.
Interface is participating in an infrastructure network as a non-AP station.
Interface is participating in an IBSS network.
Interface is participating in an infrastructure network as an access point.
See also Apple’s documentation
Tuple Fields§
§0: NSInteger
Implementations§
Trait Implementations§
Source§impl Clone for CWInterfaceMode
impl Clone for CWInterfaceMode
Source§fn clone(&self) -> CWInterfaceMode
fn clone(&self) -> CWInterfaceMode
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 CWInterfaceMode
impl Debug for CWInterfaceMode
Source§impl Encode for CWInterfaceMode
impl Encode for CWInterfaceMode
Source§impl Hash for CWInterfaceMode
impl Hash for CWInterfaceMode
Source§impl Ord for CWInterfaceMode
impl Ord for CWInterfaceMode
Source§fn cmp(&self, other: &CWInterfaceMode) -> Ordering
fn cmp(&self, other: &CWInterfaceMode) -> 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 CWInterfaceMode
impl PartialEq for CWInterfaceMode
Source§impl PartialOrd for CWInterfaceMode
impl PartialOrd for CWInterfaceMode
Source§impl RefEncode for CWInterfaceMode
impl RefEncode for CWInterfaceMode
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 CWInterfaceMode
impl Eq for CWInterfaceMode
impl StructuralPartialEq for CWInterfaceMode
Auto Trait Implementations§
impl Freeze for CWInterfaceMode
impl RefUnwindSafe for CWInterfaceMode
impl Send for CWInterfaceMode
impl Sync for CWInterfaceMode
impl Unpin for CWInterfaceMode
impl UnwindSafe for CWInterfaceMode
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.