pub fn remove<T: Send + Sync + 'static>(&mut self) -> Option<Arc<T>> {
        self.map
            .remove(&TypeId::of::<T>())
            .map(|arc| arc.downcast().expect("Values are stored by TypeId"))
    }
/// Removes a value from the container.
///
/// If the container do not has this type present, `None` is returned.
/// Otherwise, the value is removed and returned.
Removes a value from the container.
If the container do not has this type present, `None` is returned.
Otherwise, the value is removed and returned.
Removes a value from the container . If the container do not has this type present ` None ` is returned . Otherwise the value is removed and returned .
pub fn remove<T: Send + Sync + 'static>(&mut self) -> Option<Arc<T>> {
        self.map
            .remove(&TypeId::of::<T>())
            .map(|arc| arc.downcast().expect("Values are stored by TypeId"))
    }
pub fn remove < T : Send + Sync + ' static > ( & mut self ) -> Option < Arc < T > > { self . map . remove ( & TypeId :: of :: < T > ( ) ) . map ( | arc | arc . downcast ( ) . expect ( " " ) ) }
Removes a value from the container.
Removes a value from the container .
&mut self
&mut self