[][src]Trait bitbash::ConvertRepr

pub trait ConvertRepr: Sized {
    type Repr;
    fn try_from_repr(repr: Self::Repr) -> Option<Self>;
fn into_repr(self) -> Self::Repr; }

Associated Types

type Repr

Loading content...

Required methods

fn try_from_repr(repr: Self::Repr) -> Option<Self>

fn into_repr(self) -> Self::Repr

Loading content...

Implementors

impl ConvertRepr for bool[src]

type Repr = u8

impl ConvertRepr for u8[src]

type Repr = u8

impl ConvertRepr for u16[src]

type Repr = u16

impl ConvertRepr for u32[src]

type Repr = u32

impl ConvertRepr for u64[src]

type Repr = u64

impl ConvertRepr for u128[src]

type Repr = u128

impl ConvertRepr for usize[src]

type Repr = usize

Loading content...