Function frunk_proc_macro_helpers::build_coprod_type
source · pub fn build_coprod_type<L: IntoIterator>(items: L) -> TokenStream2where
L::Item: ToTokens,
L::IntoIter: DoubleEndedIterator,
Expand description
Given a list of types, creates an AST for the corresponding Coproduct type.