Module pyo3::impl_::pyfunction
source · Re-exports§
pub use crate::impl_::pymethods::PyMethodDef;
Structs§
- Helper for
wrap_pyfunction_bound!
to guarantee return type ofBound<'py, PyCFunction>
.
Traits§
- Trait to enable the use of
wrap_pyfunction
with bothPython
andPyModule
, and also to infer the return type of either&'py PyCFunction
orBound<'py, PyCFunction>
.