Struct wlan_common::ie::AselCapability
source · #[repr(C)]pub struct AselCapability(pub u8);
Tuple Fields§
§0: u8
Implementations§
source§impl AselCapability
impl AselCapability
pub fn asel(&self) -> bool
pub fn set_asel(&mut self, value: bool)
pub fn with_asel(self, value: bool) -> Self
pub fn csi_feedback_tx_asel(&self) -> bool
pub fn set_csi_feedback_tx_asel(&mut self, value: bool)
pub fn with_csi_feedback_tx_asel(self, value: bool) -> Self
pub fn ant_idx_feedback_tx_asel(&self) -> bool
pub fn set_ant_idx_feedback_tx_asel(&mut self, value: bool)
pub fn with_ant_idx_feedback_tx_asel(self, value: bool) -> Self
pub fn explicit_csi_feedback(&self) -> bool
pub fn set_explicit_csi_feedback(&mut self, value: bool)
pub fn with_explicit_csi_feedback(self, value: bool) -> Self
pub fn antenna_idx_feedback(&self) -> bool
pub fn set_antenna_idx_feedback(&mut self, value: bool)
pub fn with_antenna_idx_feedback(self, value: bool) -> Self
pub fn rx_asel(&self) -> bool
pub fn set_rx_asel(&mut self, value: bool)
pub fn with_rx_asel(self, value: bool) -> Self
pub fn tx_sounding_ppdu(&self) -> bool
pub fn set_tx_sounding_ppdu(&mut self, value: bool)
pub fn with_tx_sounding_ppdu(self, value: bool) -> Self
pub fn raw(&self) -> u8
Trait Implementations§
source§impl Clone for AselCapability
impl Clone for AselCapability
source§fn clone(&self) -> AselCapability
fn clone(&self) -> AselCapability
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 AselCapability
impl Debug for AselCapability
source§impl FromBytes for AselCapabilitywhere
u8: FromBytes,
impl FromBytes for AselCapabilitywhere
u8: 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 AselCapabilitywhere
u8: FromZeros,
impl FromZeros for AselCapabilitywhere
u8: FromZeros,
source§impl Hash for AselCapability
impl Hash for AselCapability
source§impl IntoBytes for AselCapabilitywhere
u8: IntoBytes,
impl IntoBytes for AselCapabilitywhere
u8: IntoBytes,
source§impl PartialEq for AselCapability
impl PartialEq for AselCapability
source§fn eq(&self, other: &AselCapability) -> bool
fn eq(&self, other: &AselCapability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AselCapability
impl Eq for AselCapability
impl StructuralPartialEq for AselCapability
Auto Trait Implementations§
impl Freeze for AselCapability
impl RefUnwindSafe for AselCapability
impl Send for AselCapability
impl Sync for AselCapability
impl Unpin for AselCapability
impl UnwindSafe for AselCapability
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