pub trait MemoryMapper {
    fn map_memory(&self, mapping: Mapping) -> Vec<GcPtr>;
}
Expand description

A trait used to map allocated memory using type differences.

Required Methods§

Maps its allocated memory using the provided mapping.

A Vec<GcPtr> is returned containing all objects of types that were deleted. The corresponding types have to remain in-memory until the objects have been deallocated.

Implementors§