(f: F)
| 78 | |
| 79 | #[inline(always)] |
| 80 | pub const fn static_raw_func<F: PyNativeFn>(f: F) -> &'static dyn PyNativeFn { |
| 81 | zst_ref_out_of_thin_air(f) |
| 82 | } |
| 83 | |
| 84 | // TODO: once higher-rank trait bounds are stabilized, remove the `Kind` type |
| 85 | // parameter and impl for F where F: for<T, R, VM> PyNativeFnInternal<T, R, VM> |
no test coverage detected