pub fn map_repr<Origin, Mapper>(val: Origin, mapper: Mapper) -> OriginExpand description
Maps a value of a given type Origin using a function on
the representation type Repr of Origin.
pub fn map_repr<Origin, Mapper>(val: Origin, mapper: Mapper) -> OriginMaps a value of a given type Origin using a function on
the representation type Repr of Origin.