[][src]Trait cex::EnumX

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

Indicates the prototype for a user-defined exchangeable enum.

Associated Types

type Proto

Loading content...

Required methods

fn from_proto(src: Self::Proto) -> Self

fn into_proto(self) -> Self::Proto

Loading content...

Implementors

Loading content...