pub fn insert(self, value: V) -> &'a mut V {
        &mut self
            .inner
            .insert(Slot {
                version: self.kd.version.get(),
                value,
            })
            .value
    }
/// Sets the value of the entry with the [`VacantEntry`]'s key, and returns
/// a mutable reference to it.
///
/// # Examples
///
/// ```
/// # use slotmap::*;
/// # use slotmap::sparse_secondary::Entry;
///
/// let mut sm = SlotMap::new();
/// let mut sec = SparseSecondaryMap::new();
///
/// let k = sm.insert(1);
///
/// if let Entry::Vacant(v) = sec.entry(k).unwrap() {
///     let new_val = v.insert(3);
///     assert_eq!(new_val, &mut 3);
/// }
/// ```
Sets the value of the entry with the [`VacantEntry`]'s key, and returns
a mutable reference to it.
Sets the value of the entry with the [ ` VacantEntry ` ] ' s key and returns a mutable reference to it .
pub fn insert(self, value: V) -> &'a mut V {
        &mut self
            .inner
            .insert(Slot {
                version: self.kd.version.get(),
                value,
            })
            .value
    }
pub fn insert ( self , value : V ) -> & ' a mut V { & mut self . inner . insert ( Slot { version : self . kd . version . get ( ) , value , } ) . value }
Sets the value of the entry with the [`VacantEntry`]'s key, and returns
a mutable reference to it.
Sets the value of the entry with the [ ` VacantEntry ` ] ' s key and returns a mutable reference to it .
self
value
V
examples
None
use slotmap::*;
None
use slotmap::sparse_secondary::entry;
let mut sm = SlotMap::new();
let mut sec = SparseSecondaryMap::new().

let k = sm.insert(1).

if let Entry::Vacant(v) = sec.entry(k).unwrap() {
let new_val = v.insert(3);
assert_eq!(new_val, &mut 3);
}
```
let mut sm = SlotMap :: new () ; let mut sec = SparseSecondaryMap :: new () . let k = sm . insert ( 1 ) . if let Entry :: Vacant ( v ) = sec . entry ( k ) . unwrap () { let new_val = v . insert ( 3 ) ; assert_eq! ( new_val &mut 3 ) ; } ` ` `