(&self)
| 947 | /// Returns `Some(_)` if this `Ref` is a non-null `any` reference. |
| 948 | #[inline] |
| 949 | pub fn unwrap_any(&self) -> Option<&Rooted<AnyRef>> { |
| 950 | self.as_any().expect("Ref::unwrap_any on non-any reference") |
| 951 | } |
| 952 | |
| 953 | /// Is this an `exn` reference? |
| 954 | #[inline] |
no test coverage detected