Struct wlan_common::ie::VhtMcsNssMap
source · #[repr(C)]pub struct VhtMcsNssMap(pub u16);
Tuple Fields§
§0: u16
Implementations§
source§impl VhtMcsNssMap
impl VhtMcsNssMap
pub fn ss1_raw(&self) -> u16
pub fn set_ss1_raw(&mut self, value: u16)
pub fn with_ss1_raw(self, value: u16) -> Self
pub fn ss1(&self) -> VhtMcsSet
pub fn set_ss1(&mut self, value: VhtMcsSet)
pub fn with_ss1(self, value: VhtMcsSet) -> Self
pub fn ss2_raw(&self) -> u16
pub fn set_ss2_raw(&mut self, value: u16)
pub fn with_ss2_raw(self, value: u16) -> Self
pub fn ss2(&self) -> VhtMcsSet
pub fn set_ss2(&mut self, value: VhtMcsSet)
pub fn with_ss2(self, value: VhtMcsSet) -> Self
pub fn ss3_raw(&self) -> u16
pub fn set_ss3_raw(&mut self, value: u16)
pub fn with_ss3_raw(self, value: u16) -> Self
pub fn ss3(&self) -> VhtMcsSet
pub fn set_ss3(&mut self, value: VhtMcsSet)
pub fn with_ss3(self, value: VhtMcsSet) -> Self
pub fn ss4_raw(&self) -> u16
pub fn set_ss4_raw(&mut self, value: u16)
pub fn with_ss4_raw(self, value: u16) -> Self
pub fn ss4(&self) -> VhtMcsSet
pub fn set_ss4(&mut self, value: VhtMcsSet)
pub fn with_ss4(self, value: VhtMcsSet) -> Self
pub fn ss5_raw(&self) -> u16
pub fn set_ss5_raw(&mut self, value: u16)
pub fn with_ss5_raw(self, value: u16) -> Self
pub fn ss5(&self) -> VhtMcsSet
pub fn set_ss5(&mut self, value: VhtMcsSet)
pub fn with_ss5(self, value: VhtMcsSet) -> Self
pub fn ss6_raw(&self) -> u16
pub fn set_ss6_raw(&mut self, value: u16)
pub fn with_ss6_raw(self, value: u16) -> Self
pub fn ss6(&self) -> VhtMcsSet
pub fn set_ss6(&mut self, value: VhtMcsSet)
pub fn with_ss6(self, value: VhtMcsSet) -> Self
pub fn ss7_raw(&self) -> u16
pub fn set_ss7_raw(&mut self, value: u16)
pub fn with_ss7_raw(self, value: u16) -> Self
pub fn ss7(&self) -> VhtMcsSet
pub fn set_ss7(&mut self, value: VhtMcsSet)
pub fn with_ss7(self, value: VhtMcsSet) -> Self
pub fn ss8_raw(&self) -> u16
pub fn set_ss8_raw(&mut self, value: u16)
pub fn with_ss8_raw(self, value: u16) -> Self
pub fn ss8(&self) -> VhtMcsSet
pub fn set_ss8(&mut self, value: VhtMcsSet)
pub fn with_ss8(self, value: VhtMcsSet) -> Self
pub fn raw(&self) -> u16
Trait Implementations§
source§impl Clone for VhtMcsNssMap
impl Clone for VhtMcsNssMap
source§fn clone(&self) -> VhtMcsNssMap
fn clone(&self) -> VhtMcsNssMap
Returns a copy 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 VhtMcsNssMap
impl Debug for VhtMcsNssMap
source§impl FromBytes for VhtMcsNssMapwhere
u16: FromBytes,
impl FromBytes for VhtMcsNssMapwhere
u16: FromBytes,
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + IntoBytes + NoCell,
fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + IntoBytes + NoCell,
Interprets the prefix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + IntoBytes + NoCell,
fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + IntoBytes + NoCell,
Interprets the suffix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
source§impl FromZeros for VhtMcsNssMapwhere
u16: FromZeros,
impl FromZeros for VhtMcsNssMapwhere
u16: FromZeros,
source§impl Hash for VhtMcsNssMap
impl Hash for VhtMcsNssMap
source§impl IntoBytes for VhtMcsNssMapwhere
u16: IntoBytes,
impl IntoBytes for VhtMcsNssMapwhere
u16: IntoBytes,
source§impl PartialEq for VhtMcsNssMap
impl PartialEq for VhtMcsNssMap
source§fn eq(&self, other: &VhtMcsNssMap) -> bool
fn eq(&self, other: &VhtMcsNssMap) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for VhtMcsNssMap
impl Eq for VhtMcsNssMap
impl StructuralPartialEq for VhtMcsNssMap
Auto Trait Implementations§
impl Freeze for VhtMcsNssMap
impl RefUnwindSafe for VhtMcsNssMap
impl Send for VhtMcsNssMap
impl Sync for VhtMcsNssMap
impl Unpin for VhtMcsNssMap
impl UnwindSafe for VhtMcsNssMap
Blanket Implementations§
source§impl<T> AsBytesExt for Twhere
T: IntoBytes + NoCell,
impl<T> AsBytesExt for Twhere
T: IntoBytes + NoCell,
source§fn as_bytes_ref(&self) -> Ref<&[u8], Self>
fn as_bytes_ref(&self) -> Ref<&[u8], Self>
Gets a byte slice reference from a reference to
Self
. Read moresource§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