Struct wlan_common::mac::DataSubtype
source · pub struct DataSubtype(pub u8);
Tuple Fields§
§0: u8
Implementations§
source§impl DataSubtype
impl DataSubtype
pub fn cf_ack(&self) -> bool
pub fn set_cf_ack(&mut self, value: bool)
pub fn with_cf_ack(self, value: bool) -> Self
pub fn cf_poll(&self) -> bool
pub fn set_cf_poll(&mut self, value: bool)
pub fn with_cf_poll(self, value: bool) -> Self
pub fn null(&self) -> bool
pub fn set_null(&mut self, value: bool)
pub fn with_null(self, value: bool) -> Self
pub fn qos(&self) -> bool
pub fn set_qos(&mut self, value: bool)
pub fn with_qos(self, value: bool) -> Self
pub fn raw(&self) -> u8
Trait Implementations§
source§impl Clone for DataSubtype
impl Clone for DataSubtype
source§fn clone(&self) -> DataSubtype
fn clone(&self) -> DataSubtype
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 DataSubtype
impl Debug for DataSubtype
source§impl Hash for DataSubtype
impl Hash for DataSubtype
source§impl PartialEq for DataSubtype
impl PartialEq for DataSubtype
source§fn eq(&self, other: &DataSubtype) -> bool
fn eq(&self, other: &DataSubtype) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DataSubtype
impl Eq for DataSubtype
impl StructuralPartialEq for DataSubtype
Auto Trait Implementations§
impl Freeze for DataSubtype
impl RefUnwindSafe for DataSubtype
impl Send for DataSubtype
impl Sync for DataSubtype
impl Unpin for DataSubtype
impl UnwindSafe for DataSubtype
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)