pub struct Dot11EltHTInfo {
pub primary_channel: u8,
pub ht_info: [u8; 5],
pub basic_mcs_set: [u8; 16],
}Expand description
HT Information (Operation) Element (ID=61).
Fields§
§primary_channel: u8Primary channel.
ht_info: [u8; 5]HT Operation Information (5 bytes).
basic_mcs_set: [u8; 16]Basic MCS Set (16 bytes).
Implementations§
Source§impl Dot11EltHTInfo
impl Dot11EltHTInfo
Sourcepub fn secondary_channel_offset(&self) -> u8
pub fn secondary_channel_offset(&self) -> u8
Secondary channel offset (bits 0-1 of ht_info byte 0). 0 = no secondary, 1 = above, 3 = below.
Sourcepub fn sta_channel_width(&self) -> bool
pub fn sta_channel_width(&self) -> bool
STA Channel Width (bit 2 of ht_info byte 0).
Trait Implementations§
Source§impl Clone for Dot11EltHTInfo
impl Clone for Dot11EltHTInfo
Source§fn clone(&self) -> Dot11EltHTInfo
fn clone(&self) -> Dot11EltHTInfo
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 Dot11EltHTInfo
impl Debug for Dot11EltHTInfo
Source§impl PartialEq for Dot11EltHTInfo
impl PartialEq for Dot11EltHTInfo
impl Eq for Dot11EltHTInfo
impl StructuralPartialEq for Dot11EltHTInfo
Auto Trait Implementations§
impl Freeze for Dot11EltHTInfo
impl RefUnwindSafe for Dot11EltHTInfo
impl Send for Dot11EltHTInfo
impl Sync for Dot11EltHTInfo
impl Unpin for Dot11EltHTInfo
impl UnsafeUnpin for Dot11EltHTInfo
impl UnwindSafe for Dot11EltHTInfo
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