fn proj_own_body(
cx: &Context<'_>,
variant_ident: Option<&Ident>,
proj_move: Option<&Group>,
pinned_fields: &[Ident],
) -> TokenStream
Expand description
Generates the processing that project_replace
does for the struct or each variant.
Note: pinned_fields
must be in declaration order.