Re-exports§
pub use crate::impl_::pymethods::PyMethodDef;
Modules§
- wrap_
pyfunctionarg 🔒 - Seals
WrapPyFunctionArgso that types outside PyO3 cannot implement it.
Structs§
- PyFunction
Def - Wrapper around
ffi::PyMethodDefsuitable to use as a static variable for#[pyfunction]values.
Traits§
- Wrap
PyFunction Arg - Trait to enable the use of
wrap_pyfunctionwith bothPythonandPyModule, and also to infer the return type of either&'py PyCFunctionorBound<'py, PyCFunction>.
Functions§
- create_
py_ ⚠c_ function - Creates a
PyCFunctionobject from aPyMethodDef.