pub fn vacant_entry(&mut self) -> VacantEntry<T> {
        let idx = self.find_or_create_available_slab();
        VacantEntry {
            key_offset: self.conv_into_key(0, idx),
            vacant_entry: self.slabs[idx].vacant_entry(),
        }
    }
/// Return a handle to a vacant entry allowing for further manipulation.
///
/// This function is useful when creating values that must contain their
/// slab key. The returned `VacantEntry` reserves a slot in the slab and is
/// able to query the associated key.
///
/// # Examples
///
/// ```
/// # use super_slab::*;
/// let mut slab = SuperSlab::new();
///
/// let hello = {
///     let entry = slab.vacant_entry();
///     let key = entry.key();
///
///     entry.insert((key, "hello"));
///     key
/// };
///
/// assert_eq!(hello, slab[hello].0);
/// assert_eq!("hello", slab[hello].1);
/// ```
Return a handle to a vacant entry allowing for further manipulation.
This function is useful when creating values that must contain their
slab key. The returned `VacantEntry` reserves a slot in the slab and is
able to query the associated key.
Return a handle to a vacant entry allowing for further manipulation . This function is useful when creating values that must contain their slab key . The returned ` VacantEntry ` reserves a slot in the slab and is able to query the associated key .
pub fn vacant_entry(&mut self) -> VacantEntry<T> {
        let idx = self.find_or_create_available_slab();
        VacantEntry {
            key_offset: self.conv_into_key(0, idx),
            vacant_entry: self.slabs[idx].vacant_entry(),
        }
    }
pub fn vacant_entry ( & mut self ) -> VacantEntry < T > { let idx = self . find_or_create_available_slab ( ) ; VacantEntry { key_offset : self . conv_into_key ( 0 , idx ) , vacant_entry : self . slabs [ idx ] . vacant_entry ( ) , } }
Return a handle to a vacant entry allowing for further manipulation.
Return a handle to a vacant entry allowing for further manipulation .
&mut self
&mut self
examples
None
use super_slab::*;
let mut slab = SuperSlab::new().



entry.insert((key, "hello"));
key
}.


let mut slab = SuperSlab :: new () . entry . insert (( key " hello " )) ; key } .