Skip to main content

IntoChoice

Trait IntoChoice 

Source
pub trait IntoChoice<T> {
    // Required method
    fn into_choice(self) -> Choice<T>;
}

Required Methods§

Source

fn into_choice(self) -> Choice<T>

Implementors§

Source§

impl<T> IntoChoice<T> for Choice<T>

Source§

impl<T> IntoChoice<T> for T
where T: Display,