Module mun_memory::mapping[][src]

Structs

Conversion
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

Enums

Action

The Action to take when mapping memory from A to B.

Traits

MemoryMapper

A trait used to map allocated memory using type differences.

Functions

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.