pub trait AsBits {
    type Bits: Bits;
    fn to_bits(self) -> Self::Bits;
fn from_bits(b: Self::Bits) -> Self; }
Expand description

Conversions to and from bit representations.

Associated Types

Type for the bit representation of Self.

Required methods

Convert to the underlying bit representation.

Convert from the underlying bit representation.

Implementations on Foreign Types

Implementors