Module mapping
Source - FieldMapping
- Description of the mapping of a single field. When stored together with the new index, this
provides all information necessary for a mapping function.
- Mapping
- The type mapping needed to convert an old into a new set of unique and ordered values.
- StructMapping
- The struct mapping needed to convert an old into a new struct of unique and ordered fields.
- Action
- The
Action to take when mapping memory from A to B.
- MemoryMapper
- A trait used to map allocated memory using type differences.
- field_mapping⚠
- Given a set of
old_fields of type T and their corresponding diff, calculates the mapping
new_index -> Option<FieldMappingDesc> for each new field. - resolve_edit
- resolve_struct_to_struct_edit