pyo3::ffi

Type Alias wrapperfunc

Source
pub type wrapperfunc = Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut c_void) -> *mut PyObject>;

Aliased Type§

enum wrapperfunc {
    None,
    Some(unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut c_void) -> *mut PyObject),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here