Struct wlan_common::ie::SupportedMcsSet
source · #[repr(C)]pub struct SupportedMcsSet(pub u128);
Tuple Fields§
§0: u128
Implementations§
source§impl SupportedMcsSet
impl SupportedMcsSet
pub fn rx_mcs_raw(&self) -> u128
pub fn set_rx_mcs_raw(&mut self, value: u128)
pub fn with_rx_mcs_raw(self, value: u128) -> Self
pub fn rx_mcs(&self) -> RxMcsBitmask
pub fn set_rx_mcs(&mut self, value: RxMcsBitmask)
pub fn with_rx_mcs(self, value: RxMcsBitmask) -> Self
pub fn rx_highest_rate(&self) -> u128
pub fn set_rx_highest_rate(&mut self, value: u128)
pub fn with_rx_highest_rate(self, value: u128) -> Self
pub fn tx_set_defined(&self) -> bool
pub fn set_tx_set_defined(&mut self, value: bool)
pub fn with_tx_set_defined(self, value: bool) -> Self
pub fn tx_rx_diff(&self) -> bool
pub fn set_tx_rx_diff(&mut self, value: bool)
pub fn with_tx_rx_diff(self, value: bool) -> Self
pub fn tx_max_ss_raw(&self) -> u128
pub fn set_tx_max_ss_raw(&mut self, value: u128)
pub fn with_tx_max_ss_raw(self, value: u128) -> Self
pub fn tx_max_ss(&self) -> NumSpatialStreams
pub fn set_tx_max_ss(&mut self, value: NumSpatialStreams)
pub fn with_tx_max_ss(self, value: NumSpatialStreams) -> Self
pub fn tx_ueqm(&self) -> bool
pub fn set_tx_ueqm(&mut self, value: bool)
pub fn with_tx_ueqm(self, value: bool) -> Self
pub fn raw(&self) -> u128
Trait Implementations§
source§impl Clone for SupportedMcsSet
impl Clone for SupportedMcsSet
source§fn clone(&self) -> SupportedMcsSet
fn clone(&self) -> SupportedMcsSet
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 SupportedMcsSet
impl Debug for SupportedMcsSet
source§impl FromBytes for SupportedMcsSetwhere
u128: FromBytes,
impl FromBytes for SupportedMcsSetwhere
u128: 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 SupportedMcsSetwhere
u128: FromZeros,
impl FromZeros for SupportedMcsSetwhere
u128: FromZeros,
source§impl Hash for SupportedMcsSet
impl Hash for SupportedMcsSet
source§impl IntoBytes for SupportedMcsSetwhere
u128: IntoBytes,
impl IntoBytes for SupportedMcsSetwhere
u128: IntoBytes,
source§impl PartialEq for SupportedMcsSet
impl PartialEq for SupportedMcsSet
source§fn eq(&self, other: &SupportedMcsSet) -> bool
fn eq(&self, other: &SupportedMcsSet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SupportedMcsSet
impl Eq for SupportedMcsSet
impl StructuralPartialEq for SupportedMcsSet
Auto Trait Implementations§
impl RefUnwindSafe for SupportedMcsSet
impl Send for SupportedMcsSet
impl Sync for SupportedMcsSet
impl Unpin for SupportedMcsSet
impl UnwindSafe for SupportedMcsSet
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