Function frunk_core::labelled::transform_from[][src]

pub fn transform_from<Src, Dst, Indices>(src: Src) -> Dst where
    Src: LabelledGeneric,
    Dst: 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.