ExchangeInto

Trait ExchangeInto 

Source
pub trait ExchangeInto<Dest, Index> {
    // Required method
    fn exchange_into(self) -> Dest;
}
Expand description

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§

Source

fn exchange_into(self) -> Dest

Implementors§

Source§

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