frunk::generic

Function into_generic

source
pub fn into_generic<Src, Repr>(src: Src) -> Repr
where Src: Generic<Repr = Repr>,
Expand description

Given a value of type Src, returns its generic representation Repr.