pub(super)modarc;pub(super)modrc;/// TODO: document this trait
pubtraitSharedSlab<I, T> {/// The shared container
typeElement;/// This will clone the underlying container (e.g Rc or Arc).
/// Unlike the basic `Slab` the `SharedSlab` needs the values to be
/// manually removed with `try_remove`.
fnget(&mutself, index: I)->Option<Self::Element>;/// Insert a value into the slab
fninsert(&mutself, value: T)-> I;/// Take a value out of the slab.
////// # Panics
////// Will panic if the slot is not occupied.
fntry_remove(&mutself, index: I)->Option<T>;}