Tuple3Map0Result

Trait Tuple3Map0Result 

Source
pub trait Tuple3Map0Result<E, T0, T1, T2> {
    // Required method
    fn map0<U>(self, f: impl FnOnce(T0) -> U) -> Result<(U, T1, T2), E>;
}
Expand description

Mapping .0 for Tuple3

Required Methods§

Source

fn map0<U>(self, f: impl FnOnce(T0) -> U) -> Result<(U, T1, T2), E>

Mapping .0 for Tuple3

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<E, T0, T1, T2> Tuple3Map0Result<E, T0, T1, T2> for Result<(T0, T1, T2), E>

Source§

fn map0<U>(self, f: impl FnOnce(T0) -> U) -> Result<(U, T1, T2), E>

Implementors§