[][src]Trait enumx::EnumxFrom

pub trait EnumxFrom<Src, Index> {
    fn enumx_from(src: Src) -> Self;
}

Constructs an exchangeable enum from one of its variant type, or from another enum.

Required methods

fn enumx_from(src: Src) -> Self

Loading content...

Implementors

impl<Src, Dest, Index> EnumxFrom<Src, (Index, FV)> for Dest where
    Dest: FromVariant<Src, Index>, 
[src]

impl<Src, Dest, Indices> EnumxFrom<Src, (Indices, XF)> for Dest where
    Dest: ExchangeFrom<Src, Indices>, 
[src]

Loading content...