Struct wlan_common::ie::ChanWidthSet
source · pub struct ChanWidthSet(pub u8);
Tuple Fields§
§0: u8
Implementations§
source§impl ChanWidthSet
impl ChanWidthSet
pub const TWENTY_ONLY: Self = _
pub const TWENTY_FORTY: Self = _
Trait Implementations§
source§impl Clone for ChanWidthSet
impl Clone for ChanWidthSet
source§fn clone(&self) -> ChanWidthSet
fn clone(&self) -> ChanWidthSet
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 ChanWidthSet
impl Debug for ChanWidthSet
source§impl PartialEq for ChanWidthSet
impl PartialEq for ChanWidthSet
source§fn eq(&self, other: &ChanWidthSet) -> bool
fn eq(&self, other: &ChanWidthSet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ChanWidthSet
impl PartialOrd for ChanWidthSet
source§fn partial_cmp(&self, other: &ChanWidthSet) -> Option<Ordering>
fn partial_cmp(&self, other: &ChanWidthSet) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ChanWidthSet
impl StructuralPartialEq for ChanWidthSet
Auto Trait Implementations§
impl Freeze for ChanWidthSet
impl RefUnwindSafe for ChanWidthSet
impl Send for ChanWidthSet
impl Sync for ChanWidthSet
impl Unpin for ChanWidthSet
impl UnwindSafe for ChanWidthSet
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