pub(super) fn build_field_mapping(
variant: &VariantInfo<'_>,
) -> HashMap<String, TokenStream>
Expand description
Build the mapping of field names to fields. This allows attributes to peek values from other fields.
pub(super) fn build_field_mapping(
variant: &VariantInfo<'_>,
) -> HashMap<String, TokenStream>
Build the mapping of field names to fields. This allows attributes to peek values from other fields.