Determine whether this handle can still be used to refer to a frame.
(&self, mut store: impl AsContextMut)
| 444 | /// Determine whether this handle can still be used to refer to a |
| 445 | /// frame. |
| 446 | pub fn is_valid(&self, mut store: impl AsContextMut) -> bool { |
| 447 | let store = store.as_context_mut(); |
| 448 | self.is_valid_impl(store.0.as_store_opaque()) |
| 449 | } |
| 450 | |
| 451 | fn is_valid_impl(&self, store: &StoreOpaque) -> bool { |
| 452 | let id = store.id(); |
no test coverage detected