Function slotmap_remove_early

Source
pub(crate) fn slotmap_remove_early<K: Key, V>(
    slotmap: &mut SlotMap<K, V>,
    key: Ref<K>,
) -> Option<V>
Expand description

Unconditionally remove en entry from the slotmap, given a strong ref

Other references to this entry will become dangling.