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<unsafe extern "C" fn(_: *mut PyObject, _: *const *mut PyObject, _: usize, _: *mut PyObject) -> *mut PyObject>,
}
Fields§
§ob_base: PyObject
§m_ml: *mut PyMethodDef
§m_self: *mut PyObject
§m_module: *mut PyObject
§m_weakreflist: *mut PyObject
§vectorcall: Option<unsafe extern "C" fn(_: *mut PyObject, _: *const *mut PyObject, _: usize, _: *mut PyObject) -> *mut PyObject>
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