/// Ensures a value is in the entry by inserting the result of the `default`
/// function if empty, and returns a mutable reference to the value in the entry.
/// 
/// # Examples
/// ```
/// use coca::collections::InlineListMap;
/// 
/// let mut map = InlineListMap::<&'static str, u32, 4>::new();
/// let bazz = 0xDEADBEEF;
/// 
/// map.entry("foobar").or_insert_with(|| bazz);
/// assert_eq!(map.get("foobar"), Some(&bazz));
/// ```
Ensures a value is in the entry by inserting the result of the `default`
function if empty, and returns a mutable reference to the value in the entry.
Ensures a value is in the entry by inserting the result of the ` default ` function if empty and returns a mutable reference to the value in the entry .
pub fn or_insert_with<F: FnOnce() -> V>(self, default: F) -> &'a mut V {
        match self {
            Occupied(entry) => entry.into_mut(),
            Vacant(entry) => entry.insert(default()),
        }
    }
pub fn or_insert_with < F : FnOnce ( ) -> V > ( self , default : F ) -> & ' a mut V { match self { Occupied ( entry ) => entry . into_mut ( ) , Vacant ( entry ) => entry . insert ( default ( ) ) , } }
Ensures a value is in the entry by inserting the result of the `default`
function if empty, and returns a mutable reference to the value in the entry.
Ensures a value is in the entry by inserting the result of the ` default ` function if empty and returns a mutable reference to the value in the entry .
self
<not_specific>
default
F
<not_specific>
examples
```
use coca::collections::InlineListMap.

let mut map = InlineListMap::<&'static str, u32, 4>::new();
let bazz = 0xDEADBEEF.

map.entry("foobar").or_insert_with(|| bazz);
assert_eq!(map.get("foobar"), Some(&bazz));
```
` ` ` use coca :: collections :: InlineListMap . let mut map = InlineListMap :: <& ' static str u32 4 > :: new () ; let bazz = 0xDEADBEEF . map . entry ( " foobar " ) . or_insert_with ( || bazz ) ; assert_eq! ( map . get ( " foobar " ) Some ( &bazz )) ; ` ` `