Struct pyo3::ffi::PyMethodDescrObject
source · [−]#[repr(C)]pub struct PyMethodDescrObject {
pub d_common: PyDescrObject,
pub d_method: *mut PyMethodDef,
pub vectorcall: Option<unsafe extern "C" fn(*mut PyObject, *const *mut PyObject, usize, *mut PyObject) -> *mut PyObject>,
}
Fields
d_common: PyDescrObject
d_method: *mut PyMethodDef
vectorcall: Option<unsafe extern "C" fn(*mut PyObject, *const *mut PyObject, usize, *mut PyObject) -> *mut PyObject>
Available on non-
PyPy
and Py_3_8
only.Auto Trait Implementations
impl RefUnwindSafe for PyMethodDescrObject
impl !Send for PyMethodDescrObject
impl !Sync for PyMethodDescrObject
impl Unpin for PyMethodDescrObject
impl UnwindSafe for PyMethodDescrObject
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