Trait tupleops::TupleMapper[][src]

pub trait TupleMapper {
    type MapElem;
    fn map_elem<Elem>(&mut self, elem: Elem) -> Self::MapElem;
}
This is supported on crate feature map only.
Expand description

Helper trait to element-wise map a tuple.

See also: map_tuple(), MapTuple, TupleMap.

Associated Types

The result type after mapping Elem.

Required methods

Map an element.

Implementors