[−][src]Function frunk::generic::convert_from
pub fn convert_from<Src, Dst, Repr>(src: Src) -> Dst where
Dst: Generic<Repr = Repr>,
Src: Generic<Repr = Repr>,
Converts one type Src
into another type Dst
assuming they have the same
representation type Repr
.