#[repr(C)]pub struct wifi_protocols_t {
pub ghz_2g: u16,
pub ghz_5g: u16,
}Expand description
@brief Description of a Wi-Fi protocols
Fields§
§ghz_2g: u16< Represents 2.4 GHz protocol, support 802.11b or 802.11g or 802.11n or 802.11ax or LR mode
ghz_5g: u16< Represents 5 GHz protocol, support 802.11a or 802.11n or 802.11ac or 802.11ax
Trait Implementations§
Source§impl Clone for wifi_protocols_t
impl Clone for wifi_protocols_t
Source§fn clone(&self) -> wifi_protocols_t
fn clone(&self) -> wifi_protocols_t
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for wifi_protocols_t
impl Debug for wifi_protocols_t
Source§impl Default for wifi_protocols_t
impl Default for wifi_protocols_t
Source§fn default() -> wifi_protocols_t
fn default() -> wifi_protocols_t
Returns the “default value” for a type. Read more
impl Copy for wifi_protocols_t
Auto Trait Implementations§
impl Freeze for wifi_protocols_t
impl RefUnwindSafe for wifi_protocols_t
impl Send for wifi_protocols_t
impl Sync for wifi_protocols_t
impl Unpin for wifi_protocols_t
impl UnsafeUnpin for wifi_protocols_t
impl UnwindSafe for wifi_protocols_t
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)