Function frunk::generic::convert_from
pub fn convert_from<Src, Dst, Repr>(src: Src) -> Dst
Expand description
Converts one type Src
into another type Dst
assuming they have the same
representation type Repr
.
pub fn convert_from<Src, Dst, Repr>(src: Src) -> Dst
Converts one type Src
into another type Dst
assuming they have the same
representation type Repr
.