pub fn or_insert_with(self, default: impl FnOnce() -> T) -> RefMut<'a, T> {
        use Entry::*;
        match self {
            Occupied(occupied) => occupied.into_mut(),
            Vacant(vacant) => vacant.insert(default()),
        }
    }
/// Ensures a resource is in the entry by inserting the result of given function if empty,
/// and returns a mutable reference to the contained resource.
Ensures a resource is in the entry by inserting the result of given function if empty,
and returns a mutable reference to the contained resource.
Ensures a resource is in the entry by inserting the result of given function if empty and returns a mutable reference to the contained resource .
pub fn or_insert_with(self, default: impl FnOnce() -> T) -> RefMut<'a, T> {
        use Entry::*;
        match self {
            Occupied(occupied) => occupied.into_mut(),
            Vacant(vacant) => vacant.insert(default()),
        }
    }
pub fn or_insert_with ( self , default : impl FnOnce ( ) -> T ) -> RefMut < ' a , T > { use Entry :: * ; match self { Occupied ( occupied ) => occupied . into_mut ( ) , Vacant ( vacant ) => vacant . insert ( default ( ) ) , } }
Ensures a resource is in the entry by inserting the result of given function if empty,
and returns a mutable reference to the contained resource.
Ensures a resource is in the entry by inserting the result of given function if empty and returns a mutable reference to the contained resource .
self
default
impl FnOnce() -> T
self
default
impl FnOnce() -> T