Trait enumx::Proto[][src]

pub trait Proto {
    type Type;
    fn from_proto(src: Self::Type) -> Self;
fn into_proto(self) -> Self::Type; }

Indicates the prototype for a user-defined Exchange-able enum.

Associated Types

Loading content...

Required methods

fn from_proto(src: Self::Type) -> Self[src]

fn into_proto(self) -> Self::Type[src]

Loading content...

Implementors

impl Proto for Enum0[src]

type Type = __0

impl<_T0> Proto for Enum1<_T0>[src]

type Type = __1<_T0>

impl<_T0, _T1> Proto for Enum2<_T0, _T1>[src]

type Type = __2<_T0, _T1>

impl<_T0, _T1, _T2> Proto for Enum3<_T0, _T1, _T2>[src]

type Type = __3<_T0, _T1, _T2>

impl<_T0, _T1, _T2, _T3> Proto for Enum4<_T0, _T1, _T2, _T3>[src]

type Type = __4<_T0, _T1, _T2, _T3>

impl<_T0, _T1, _T2, _T3, _T4> Proto for Enum5<_T0, _T1, _T2, _T3, _T4>[src]

type Type = __5<_T0, _T1, _T2, _T3, _T4>

impl<_T0, _T1, _T2, _T3, _T4, _T5> Proto for Enum6<_T0, _T1, _T2, _T3, _T4, _T5>[src]

type Type = __6<_T0, _T1, _T2, _T3, _T4, _T5>

impl<_T0, _T1, _T2, _T3, _T4, _T5, _T6> Proto for Enum7<_T0, _T1, _T2, _T3, _T4, _T5, _T6>[src]

type Type = __7<_T0, _T1, _T2, _T3, _T4, _T5, _T6>

impl<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7> Proto for Enum8<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7>[src]

type Type = __8<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7>

impl<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8> Proto for Enum9<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8>[src]

type Type = __9<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8>

impl<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9> Proto for Enum10<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9>[src]

type Type = __10<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9>

impl<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10> Proto for Enum11<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10>[src]

type Type = __11<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10>

impl<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11> Proto for Enum12<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11>[src]

type Type = __12<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11>

impl<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12> Proto for Enum13<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12>[src]

type Type = __13<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12>

impl<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, _T13> Proto for Enum14<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, _T13>[src]

type Type = __14<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, _T13>

impl<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, _T13, _T14> Proto for Enum15<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, _T13, _T14>[src]

type Type = __15<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, _T13, _T14>

impl<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, _T13, _T14, _T15> Proto for Enum16<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, _T13, _T14, _T15>[src]

type Type = __16<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, _T13, _T14, _T15>

Loading content...