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>,
}
Available on
Py_3_9
and non-Py_LIMITED_API
and non-GraalPy
only.Fields§
§ob_base: PyObject
§m_ml: *mut PyMethodDef
§m_self: *mut PyObject
§m_module: *mut PyObject
§m_weakreflist: *mut PyObject
§vectorcall: Option<vectorcallfunc>
Available on non-
PyPy
only.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