[][src]Function frunk::labelled::transform_from

pub fn transform_from<Src, Dst, Indices>(src: Src) -> Dst where
    Dst: LabelledGeneric,
    Src: LabelledGeneric,
    <Src as LabelledGeneric>::Repr: Sculptor<<Dst as LabelledGeneric>::Repr, Indices>, 

Converts from one type into another assuming that their labelled generic representations can be sculpted into each other.

The "Indices" type parameter allows the compiler to figure out that the two representations can indeed be morphed into each other.