Function frunk::generic::convert_from[][src]

pub fn convert_from<Src, Dst, Repr>(src: Src) -> Dst where
    Src: Generic<Repr = Repr>,
    Dst: Generic<Repr = Repr>, 

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