(&self)
| 913 | /// Returns `Some(_)` if this `Ref` is a non-null `extern` reference. |
| 914 | #[inline] |
| 915 | pub fn unwrap_extern(&self) -> Option<&Rooted<ExternRef>> { |
| 916 | self.as_extern() |
| 917 | .expect("Ref::unwrap_extern on non-extern reference") |
| 918 | } |
| 919 | |
| 920 | /// Is this an `any` reference? |
| 921 | #[inline] |