pub enum B50 {}Expand description
Specifier for 50 bits.
Trait Implementations§
Source§impl Specifier for B50
impl Specifier for B50
Source§type Bytes = u64
type Bytes = u64
The storage type. This is typically the smallest integer primitive that
can store all possible values of the
InOut type.Source§type InOut = u64
type InOut = u64
The interface type. This type is used by getters and setters. For
integers, this is the same as the
Bytes type; for other
types with more logical representations, like an enum or struct, this is
the enum or struct.Source§fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
Converts an interface type into its storage 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 a storage type into its interface type. Read more
impl Copy for B50
Auto Trait Implementations§
impl Freeze for B50
impl RefUnwindSafe for B50
impl Send for B50
impl Sync for B50
impl Unpin for B50
impl UnwindSafe for B50
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