检查句柄是否有效 Check if handle is valid.
(&self, handle: Handle<M>)
| 315 | /// |
| 316 | /// Check if handle is valid. |
| 317 | pub fn contains<M>(&self, handle: Handle<M>) -> bool { |
| 318 | self.get(handle).is_some() |
| 319 | } |
| 320 | |
| 321 | /// 获取当前资源数量 |
| 322 | /// |
no test coverage detected