(
self,
function_def: &'static PyFunctionDef,
)
| 56 | |
| 57 | impl<'py> WrapPyFunctionArg<'py, Bound<'py, PyCFunction>> for Bound<'py, PyModule> { |
| 58 | fn wrap_pyfunction( |
| 59 | self, |
| 60 | function_def: &'static PyFunctionDef, |
| 61 | ) -> PyResult<Bound<'py, PyCFunction>> { |
| 62 | function_def.create_py_c_function(self.py(), Some(&self)) |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | impl<'py> WrapPyFunctionArg<'py, Bound<'py, PyCFunction>> for &'_ Bound<'py, PyModule> { |
nothing calls this directly
no test coverage detected