pub enum RtVariant {
A,
B,
}Expand description
Which RT variant is currently being decoded.
Variants§
Trait Implementations§
Source§impl Specifier for RtVariant
impl Specifier for RtVariant
const STRUCT: bool = /// Which RT variant is currently being decoded. #[derive(BitfieldSpecifier, Debug, Default, Clone, Copy, PartialEq, Eq)] #[bits = 1] pub enum RtVariant { #[default] A, B, }
Source§fn 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
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 RtVariant
impl Eq for RtVariant
impl StructuralPartialEq for RtVariant
Auto Trait Implementations§
impl Freeze for RtVariant
impl RefUnwindSafe for RtVariant
impl Send for RtVariant
impl Sync for RtVariant
impl Unpin for RtVariant
impl UnsafeUnpin for RtVariant
impl UnwindSafe for RtVariant
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