Enum capsules_extra::net::ieee802154::FrameVersion
source · #[repr(u16)]pub enum FrameVersion {
V2003 = 0,
V2006 = 4_096,
V2015 = 8_192,
}
Variants§
Implementations§
source§impl FrameVersion
impl FrameVersion
pub fn from_fcf(fcf: u16) -> Option<FrameVersion>
Trait Implementations§
source§impl Clone for FrameVersion
impl Clone for FrameVersion
source§fn clone(&self) -> FrameVersion
fn clone(&self) -> FrameVersion
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 FrameVersion
impl Debug for FrameVersion
source§impl PartialEq for FrameVersion
impl PartialEq for FrameVersion
source§fn eq(&self, other: &FrameVersion) -> bool
fn eq(&self, other: &FrameVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FrameVersion
impl Eq for FrameVersion
impl StructuralPartialEq for FrameVersion
Auto Trait Implementations§
impl Freeze for FrameVersion
impl RefUnwindSafe for FrameVersion
impl Send for FrameVersion
impl Sync for FrameVersion
impl Unpin for FrameVersion
impl UnwindSafe for FrameVersion
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
)