MapInto

Trait MapInto 

Source
pub trait MapInto<T> {
    // Required method
    fn map_into(self) -> T;
}

Required Methods§

Source

fn map_into(self) -> T

Implementations on Foreign Types§

Source§

impl<A: Into<B>, B> MapInto<Option<B>> for Option<A>

Source§

fn map_into(self) -> Option<B>

Source§

impl<OkA: Into<OkB>, ErrA: Into<ErrB>, OkB, ErrB> MapInto<Result<OkB, ErrB>> for Result<OkA, ErrA>

Source§

fn map_into(self) -> Result<OkB, ErrB>

Implementors§