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

Mapping for Tuple1

Required Methods§

source

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

Mapping for Tuple1

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> Tuple1Map<T> for (T,)

source§

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

Implementors§