IntoOption

Trait IntoOption 

pub trait IntoOption<T> {
    // Required method
    fn into_option(self) -> Option<T>;
}

Required Methods§

fn into_option(self) -> Option<T>

Implementations on Foreign Types§

§

impl IntoOption<String> for &str

§

impl IntoOption<String> for Cow<'_, str>

§

impl IntoOption<String> for Option<&str>

§

impl IntoOption<String> for Option<Cow<'_, str>>

§

impl IntoOption<String> for Option<String>

§

impl IntoOption<String> for String

Implementors§