Struct wlan_common::ie::AmpduParams
source · #[repr(C)]pub struct AmpduParams(pub u8);
Tuple Fields§
§0: u8
Implementations§
source§impl AmpduParams
impl AmpduParams
pub fn max_ampdu_exponent_raw(&self) -> u8
pub fn set_max_ampdu_exponent_raw(&mut self, value: u8)
pub fn with_max_ampdu_exponent_raw(self, value: u8) -> Self
pub fn max_ampdu_exponent(&self) -> MaxAmpduExponent
pub fn set_max_ampdu_exponent(&mut self, value: MaxAmpduExponent)
pub fn with_max_ampdu_exponent(self, value: MaxAmpduExponent) -> Self
pub fn min_start_spacing_raw(&self) -> u8
pub fn set_min_start_spacing_raw(&mut self, value: u8)
pub fn with_min_start_spacing_raw(self, value: u8) -> Self
pub fn min_start_spacing(&self) -> MinMpduStartSpacing
pub fn set_min_start_spacing(&mut self, value: MinMpduStartSpacing)
pub fn with_min_start_spacing(self, value: MinMpduStartSpacing) -> Self
pub fn raw(&self) -> u8
Trait Implementations§
source§impl Clone for AmpduParams
impl Clone for AmpduParams
source§fn clone(&self) -> AmpduParams
fn clone(&self) -> AmpduParams
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 AmpduParams
impl Debug for AmpduParams
source§impl FromBytes for AmpduParamswhere
u8: FromBytes,
impl FromBytes for AmpduParamswhere
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 AmpduParamswhere
u8: FromZeros,
impl FromZeros for AmpduParamswhere
u8: FromZeros,
source§impl Hash for AmpduParams
impl Hash for AmpduParams
source§impl IntoBytes for AmpduParamswhere
u8: IntoBytes,
impl IntoBytes for AmpduParamswhere
u8: IntoBytes,
source§impl PartialEq for AmpduParams
impl PartialEq for AmpduParams
source§fn eq(&self, other: &AmpduParams) -> bool
fn eq(&self, other: &AmpduParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AmpduParams
impl Eq for AmpduParams
impl StructuralPartialEq for AmpduParams
Auto Trait Implementations§
impl Freeze for AmpduParams
impl RefUnwindSafe for AmpduParams
impl Send for AmpduParams
impl Sync for AmpduParams
impl Unpin for AmpduParams
impl UnwindSafe for AmpduParams
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