trait StructuralExpansionFieldsExt {
// Required method
fn arm_expr(
&self,
method: &Path,
skipped_indices: &HashSet<usize, DeterministicState>,
) -> TokenStream;
}Expand description
Extension of syn::Fields used by a StructuralExpansion.
Required Methods§
Sourcefn arm_expr(
&self,
method: &Path,
skipped_indices: &HashSet<usize, DeterministicState>,
) -> TokenStream
fn arm_expr( &self, method: &Path, skipped_indices: &HashSet<usize, DeterministicState>, ) -> TokenStream
Generates a resulting expression with these syn::Fields in a matched arm of a match
expression, by applying the specified method.