Trait modular_bitfield_msb::Specifier[][src]

pub trait Specifier {
    type Bytes;
    type InOut;

    const BITS: usize;
    const STRUCT: bool;

    fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>;
fn from_bytes(
        bytes: Self::Bytes
    ) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>; }
Expand description

Trait implemented by all bitfield specifiers.

Should generally not be implemented directly by users but through the macros provided by the crate.

Note

These can be all unsigned fixed-size primitives, represented by B1, B2, ... B64 and enums that derive from BitfieldSpecifier.

Associated Types

type Bytes[src]

The base type of the specifier.

Note

This is the type that is used internally for computations.

type InOut[src]

The interface type of the specifier.

Note

This is the type that is used for the getters and setters.

Associated Constants

const BITS: usize[src]

The amount of bits used by the specifier.

const STRUCT: bool[src]

Required methods

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

Converts some bytes into the in-out type.

Errors

If the in-out type is out of bounds. This can for example happen if your in-out type is u8 (for B7) but you specified a value that is bigger or equal to 128 which exceeds the 7 bits.

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

Converts the given bytes into the in-out type.

Errors

If the given byte pattern is invalid for the in-out type. This can happen for example for enums that have a number of variants which is not equal to the power of two and therefore yields some invalid bit patterns.

Implementors

impl Specifier for B1[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u8

type InOut = u8

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B2[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u8

type InOut = u8

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B3[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u8

type InOut = u8

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B4[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u8

type InOut = u8

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B5[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u8

type InOut = u8

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B6[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u8

type InOut = u8

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B7[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u8

type InOut = u8

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B8[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u8

type InOut = u8

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B9[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u16

type InOut = u16

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B10[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u16

type InOut = u16

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B11[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u16

type InOut = u16

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B12[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u16

type InOut = u16

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B13[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u16

type InOut = u16

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B14[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u16

type InOut = u16

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B15[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u16

type InOut = u16

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B16[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u16

type InOut = u16

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B17[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u32

type InOut = u32

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B18[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u32

type InOut = u32

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B19[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u32

type InOut = u32

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B20[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u32

type InOut = u32

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B21[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u32

type InOut = u32

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B22[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u32

type InOut = u32

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B23[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u32

type InOut = u32

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B24[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u32

type InOut = u32

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B25[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u32

type InOut = u32

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B26[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u32

type InOut = u32

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B27[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u32

type InOut = u32

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B28[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u32

type InOut = u32

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B29[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u32

type InOut = u32

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B30[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u32

type InOut = u32

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B31[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u32

type InOut = u32

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B32[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u32

type InOut = u32

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B33[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B34[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B35[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B36[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B37[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B38[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B39[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B40[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B41[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B42[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B43[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B44[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B45[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B46[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B47[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B48[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B49[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B50[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B51[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B52[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B53[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B54[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B55[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B56[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B57[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B58[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B59[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B60[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B61[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B62[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B63[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B64[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B65[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B66[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B67[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B68[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B69[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B70[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B71[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B72[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B73[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B74[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B75[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B76[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B77[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B78[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B79[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B80[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B81[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B82[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B83[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B84[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B85[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B86[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B87[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B88[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B89[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B90[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B91[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B92[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B93[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B94[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B95[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B96[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B97[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B98[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B99[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B100[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B101[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B102[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B103[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B104[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B105[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B106[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B107[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B108[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B109[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B110[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B111[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B112[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B113[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B114[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B115[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B116[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B117[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B118[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B119[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B120[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B121[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B122[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B123[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B124[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B125[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B126[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B127[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for B128[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for bool[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u8

type InOut = bool

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for u8[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u8

type InOut = u8

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for u16[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u16

type InOut = u16

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for u32[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u32

type InOut = u32

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for u64[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u64

type InOut = u64

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]

impl Specifier for u128[src]

const BITS: usize[src]

const STRUCT: bool[src]

type Bytes = u128

type InOut = u128

fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>[src]

fn from_bytes(
    bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]