Struct pyo3::ffi::wrapperbase
source · [−]#[repr(C)]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,
}
Fields
name: *const i8
offset: i32
function: *mut c_void
wrapper: Option<unsafe extern "C" fn(*mut PyObject, *mut PyObject, *mut c_void) -> *mut PyObject>
doc: *const i8
flags: i32
name_strobj: *mut PyObject
Auto Trait Implementations
impl RefUnwindSafe for wrapperbase
impl !Send for wrapperbase
impl !Sync for wrapperbase
impl Unpin for wrapperbase
impl UnwindSafe for wrapperbase
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more