Function frunk_core::labelled::sculpted_convert_from
source · pub fn sculpted_convert_from<A, B, Indices>(a: A) -> Bwhere
A: LabelledGeneric,
B: LabelledGeneric,
<A as LabelledGeneric>::Repr: Sculptor<<B as LabelledGeneric>::Repr, Indices>,
👎Deprecated: obsolete, transform_from instead
Expand description
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.