Type Alias pyo3_ffi::wrapperfunc

source ·
pub type wrapperfunc = Option<unsafe extern "C" fn(slf: *mut PyObject, args: *mut PyObject, wrapped: *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.