Struct pyo3_ffi::PyCFunctionObject
source · pub struct PyCFunctionObject {
pub ob_base: PyObject,
pub m_ml: *mut PyMethodDef,
pub m_self: *mut PyObject,
pub m_module: *mut PyObject,
pub m_weakreflist: *mut PyObject,
pub vectorcall: Option<vectorcallfunc>,
}
Fields§
§ob_base: PyObject
§m_ml: *mut PyMethodDef
§m_self: *mut PyObject
§m_module: *mut PyObject
§m_weakreflist: *mut PyObject
§vectorcall: Option<vectorcallfunc>
Auto Trait Implementations§
impl Freeze for PyCFunctionObject
impl RefUnwindSafe for PyCFunctionObject
impl !Send for PyCFunctionObject
impl !Sync for PyCFunctionObject
impl Unpin for PyCFunctionObject
impl UnwindSafe for PyCFunctionObject
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more