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.
pub trait ExchangeInto<Dest, Index> {
// Required method
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.