frunk_proc_macro_helpers

Function build_coprod_type

source
pub fn build_coprod_type<L: IntoIterator>(items: L) -> TokenStream
Expand description

Given a list of types, creates an AST for the corresponding Coproduct type.