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.

Required Methods§

Implementors§