Trait loop_unwrap::ToOption[][src]

pub trait ToOption<T> {
    fn to_option(self) -> Option<T>;
}

Required methods

fn to_option(self) -> Option<T>[src]

Loading content...

Implementations on Foreign Types

impl<T> ToOption<T> for Option<T>[src]

impl<T, U> ToOption<T> for Result<T, U>[src]

Loading content...

Implementors

Loading content...