pub trait AsBits { type Bits: Bits; fn to_bits(self) -> Self::Bits; fn from_bits(b: Self::Bits) -> Self; }
Conversions to and from bit representations.
Type for the bit representation of Self.
Self
Convert to the underlying bit representation.
Convert from the underlying bit representation.