Trait cex::EnumX

source ·
pub trait EnumX {
    type LR;

    fn from_lr(lr: Self::LR) -> Self;
    fn into_lr(self) -> Self::LR;
}
Expand description

Anonymous enum. The library users do not need to implement this trait by hand. Simply use Enum1, Enum2, Enum3… etc.

Required Associated Types§

Required Methods§

Implementors§