Tuple1MapAll

Trait Tuple1MapAll 

Source
pub trait Tuple1MapAll<T> {
    // Required method
    fn map_all<U>(self, f: impl FnMut(T) -> U) -> (U,);
}
Expand description

Mapping all item for Tuple1

Required Methods§

Source

fn map_all<U>(self, f: impl FnMut(T) -> U) -> (U,)

Mapping all item for Tuple1

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<T> Tuple1MapAll<T> for (T,)

Source§

fn map_all<U>(self, f: impl FnMut(T) -> U) -> (U,)

Implementors§