pub struct StatusField { /* private fields */ }
Implementations§
source§impl StatusField
impl StatusField
source§impl StatusField
impl StatusField
sourcepub const fn into_bytes(self) -> [u8; 2]
pub const fn into_bytes(self) -> [u8; 2]
sourcepub const fn from_bytes(bytes: [u8; 2]) -> Self
pub const fn from_bytes(bytes: [u8; 2]) -> Self
Converts the given bytes directly into the bitfield struct.
Trait Implementations§
source§impl Clone for StatusField
impl Clone for StatusField
source§fn clone(&self) -> StatusField
fn clone(&self) -> StatusField
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 StatusField
impl Debug for StatusField
source§impl Specifier for StatusField
impl Specifier for StatusField
source§type InOut = StatusField
type InOut = StatusField
The interface type of the specifier. Read more
source§fn into_bytes(value: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
fn into_bytes(value: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
Converts some bytes into the in-out type. Read more
source§fn from_bytes(
bytes: Self::Bytes,
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
fn from_bytes( bytes: Self::Bytes, ) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
Converts the given bytes into the in-out type. Read more
impl Copy for StatusField
Auto Trait Implementations§
impl Freeze for StatusField
impl RefUnwindSafe for StatusField
impl Send for StatusField
impl Sync for StatusField
impl Unpin for StatusField
impl UnwindSafe for StatusField
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§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
)