Trait enumx::ExchangeInto[][src]

pub trait ExchangeInto<Dest, Index> {
    fn exchange_into(self) -> Dest;
}

Wraps a variant into an enum, or converts an enum into another one, the variants of which is a superset of the converted enum’s.

Required methods

fn exchange_into(self) -> Dest[src]

Loading content...

Implementors

impl<Src, Dest, Index> ExchangeInto<Dest, Index> for Src where
    Dest: ExchangeFrom<Src, Index>, 
[src]

Loading content...