WrapWith

Trait WrapWith 

Source
pub trait WrapWith<F, T> {
    // Required method
    fn wrap(self) -> Option<F>;
}

Required Methods§

Source

fn wrap(self) -> Option<F>

Implementations on Foreign Types§

Source§

impl<T, F> WrapWith<F, Option<T>> for Option<T>
where F: From<T>,

Source§

fn wrap(self) -> Option<F>

Implementors§