Get the entry for the given resource.
(&'a mut self)
| 1065 | Ok(()) |
| 1066 | } else { |
| 1067 | Err(resource) |
| 1068 | } |
| 1069 | } |
| 1070 | |
| 1071 | /// Insert a new already type-erased resource into the store. |
| 1072 | /// |
| 1073 | /// If a resource with this `TypeID` already exists, then an error will |
| 1074 | /// be returned instead. |
| 1075 | pub fn insert_any<S: Send + 'static>( |
no outgoing calls
no test coverage detected