Function frunk_core::generic::map_repr
source · pub fn map_repr<Origin, Mapper>(val: Origin, mapper: Mapper) -> Originwhere
Origin: Generic,
Mapper: FnOnce(Origin::Repr) -> Origin::Repr,Expand description
Maps a value of a given type Origin using a function on
the representation type Repr of Origin.