[][src]Trait nitric_component::allocator::MergeDeleted

pub trait MergeDeleted<ID>: Allocator<ID> where
    ID: Id<Allocator = Self> + MergingDeletion
{ fn merge_deleted(&mut self, merger: &mut ID::Merger) -> Vec<ID>; }

Interface for deleting IDs flagged by Delete::delete with only a mutable reference to the Merger.

Required Methods

Deletes all IDs that were flagged for deletion by Delete::delete.


Panics if merger was not created by this allocator.


impl MergeDeleted<FlatUsize> for FlatAllocator