pub fn occupied(self) -> OccupiedEntry<EntryData> {
        use self::Entry::*;

        match self {
            Occupied(entry) => entry,
            Vacant(_) => panic!("expected occupied entry"),
        }
    }
/// Returns the occupied entry by moving it out of the entry.
///
/// # Panics
///
/// Panics if the variant is actually [`Entry::Vacant`].
Returns the occupied entry by moving it out of the entry.
Returns the occupied entry by moving it out of the entry .
pub fn occupied(self) -> OccupiedEntry<EntryData> {
        use self::Entry::*;
        match self {
            Occupied(entry) => entry,
            Vacant(_) => panic!("expected occupied entry"),
        }
    }
pub fn occupied ( self ) -> OccupiedEntry < EntryData > { use self :: Entry :: * ; match self { Occupied ( entry ) => entry , Vacant ( _ ) => panic ! ( " " ) , } }
Returns the occupied entry by moving it out of the entry.
Returns the occupied entry by moving it out of the entry .
self
self
panics
Panics if the variant is actually [`Entry::Vacant`].
Panics if the variant is actually [ ` Entry :: Vacant ` ] .