devela::_dep::pyo3

Type Alias PyMethodType

pub type PyMethodType = PyMethodType;
👎Deprecated since 0.23.0: PyO3 implementation detail
Available on crate features dep_pyo3 and std only.

Aliased Type§

enum PyMethodType {
    PyCFunction(unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject) -> *mut PyObject),
    PyCFunctionWithKeywords(unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> *mut PyObject),
    PyCFunctionFastWithKeywords(unsafe extern "C" fn(_: *mut PyObject, _: *const *mut PyObject, _: isize, _: *mut PyObject) -> *mut PyObject),
}

Variants§

§

PyCFunction(unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject) -> *mut PyObject)

§

PyCFunctionWithKeywords(unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> *mut PyObject)

§

PyCFunctionFastWithKeywords(unsafe extern "C" fn(_: *mut PyObject, _: *const *mut PyObject, _: isize, _: *mut PyObject) -> *mut PyObject)