(&self)
| 415 | /// Panics if `self` is not a (nullable) `externref`. |
| 416 | #[inline] |
| 417 | pub fn unwrap_externref(&self) -> Option<&Rooted<ExternRef>> { |
| 418 | self.externref().expect("expected externref") |
| 419 | } |
| 420 | |
| 421 | /// Attempt to access the underlying `anyref` value of this `Val`. |
| 422 | /// |