Trait value_from_type_traits::IntoEnum [] [src]

pub trait IntoEnum<E> {
    fn into_enum() -> E;
}

Reflexive implementation on [FromType].

Developers are encouraged to implement [FromType], because [IntoEnum] is automatically derived from that definition.

Required Methods

Implementors