Trait enumx::ExchangeFrom
source · pub trait ExchangeFrom<Src, Indices> {
fn exchange_from(src: Src) -> Self;
}
Expand description
Constructs a user-defined enum from another user-defined enum.
pub trait ExchangeFrom<Src, Indices> {
fn exchange_from(src: Src) -> Self;
}
Constructs a user-defined enum from another user-defined enum.