pub struct wrapperbase {
pub name: *const i8,
pub offset: i32,
pub function: *mut c_void,
pub wrapper: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut c_void) -> *mut PyObject>,
pub doc: *const i8,
pub flags: i32,
pub name_strobj: *mut PyObject,
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.