Enum modular_bitfield::specifiers::B16
source · [−]pub enum B16 {}
Expand description
Specifier for 16 bits.
Trait Implementations
sourceimpl Specifier for B16
impl Specifier for B16
sourcefn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
Converts some bytes into the in-out type. Read more
sourcefn 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 B16
Auto Trait Implementations
impl RefUnwindSafe for B16
impl Send for B16
impl Sync for B16
impl Unpin for B16
impl UnwindSafe for B16
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more