Function frunk_core::generic::convert_from

source ยท
pub fn convert_from<Src, Dst, Repr>(src: Src) -> Dst
where Src: Generic<Repr = Repr>, Dst: Generic<Repr = Repr>,
Expand description

Converts one type Src into another type Dst assuming they have the same representation type Repr.