pub fn remove<T: Resource>(&mut self) -> Option<T> {
        self.resources
            .remove(&TypeId::of::<T>())
            .map(|resource| downcast_resource(resource.into_inner()))
    }
/// Removes the resource of type `T` from the container.
///
/// If a resource of this type was present in the container, it will be returned.
Removes the resource of type `T` from the container.
If a resource of this type was present in the container, it will be returned.
Removes the resource of type ` T ` from the container . If a resource of this type was present in the container it will be returned .
pub fn remove<T: Resource>(&mut self) -> Option<T> {
        self.resources
            .remove(&TypeId::of::<T>())
            .map(|resource| downcast_resource(resource.into_inner()))
    }
pub fn remove < T : Resource > ( & mut self ) -> Option < T > { self . resources . remove ( & TypeId :: of :: < T > ( ) ) . map ( | resource | downcast_resource ( resource . into_inner ( ) ) ) }
Removes the resource of type `T` from the container.
Removes the resource of type ` T ` from the container .
&mut self
&mut self