Function frunk::labelled::labelled_convert_from
source · pub fn labelled_convert_from<Src, Dst, Repr>(src: Src) -> Dstwhere
Src: LabelledGeneric<Repr = Repr>,
Dst: LabelledGeneric<Repr = Repr>,
Expand description
Converts one type into another assuming they have the same labelled generic representation.