Enum modular_bitfield::specifiers::B18
source · [−]pub enum B18 {}
Expand description
Specifier for 18 bits.
Trait Implementations
sourceimpl Specifier for B18
impl Specifier for B18
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 B18
Auto Trait Implementations
impl RefUnwindSafe for B18
impl Send for B18
impl Sync for B18
impl Unpin for B18
impl UnwindSafe for B18
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