pub trait StableRemove<K>: Remove<K> { }Expand description
Removing an element under a key using Remove::remove() does not
invalidate any other key.
Plain vectors such as [Vec] cannot implement this trait because
removing elements invalidates keys of other elements. Some contiguous data
structures, such as [stable_vec::StableVec] and [thunderdome::Arena],
bypass this limitation by placing a tombstone element in place of the
removed element.