gen_struct

Function gen_struct 

Source
pub(crate) fn gen_struct(
    name: &Ident,
    vis: &Visibility,
    allocated_fields: &[LayoutField<'_>],
) -> TokenStream
Expand description

Generate the transformed struct with handler fields