Struct Ieee802154FrameVersion
pub struct Ieee802154FrameVersion(pub u8);Expand description
IEEE 802.15.4 frame version.
Tuple Fields§
§0: u8Implementations§
§impl FrameVersion
impl FrameVersion
pub const Ieee802154_2003: FrameVersion
pub const Ieee802154_2006: FrameVersion
pub const Ieee802154: FrameVersion
Trait Implementations§
§impl Clone for FrameVersion
impl Clone for FrameVersion
§fn clone(&self) -> FrameVersion
fn clone(&self) -> FrameVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FrameVersion
§impl Debug for FrameVersion
impl Debug for FrameVersion
§impl Display for FrameVersion
impl Display for FrameVersion
impl Eq for FrameVersion
§impl Format for FrameVersion
Available on crate feature defmt only.
impl Format for FrameVersion
Available on crate feature
defmt only.§impl From<u8> for FrameVersion
impl From<u8> for FrameVersion
§fn from(value: u8) -> FrameVersion
fn from(value: u8) -> FrameVersion
Converts to this type from the input type.
§impl Hash for FrameVersion
impl Hash for FrameVersion
§impl Ord for FrameVersion
impl Ord for FrameVersion
§fn cmp(&self, other: &FrameVersion) -> Ordering
fn cmp(&self, other: &FrameVersion) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for FrameVersion
impl PartialEq for FrameVersion
§impl PartialOrd for FrameVersion
impl PartialOrd 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 UnsafeUnpin 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