Struct pyo3_ffi::PyFunctionObject
source · #[repr(C)]pub struct PyFunctionObject {Show 15 fields
pub ob_base: PyObject,
pub func_globals: *mut PyObject,
pub func_builtins: *mut PyObject,
pub func_name: *mut PyObject,
pub func_qualname: *mut PyObject,
pub func_code: *mut PyObject,
pub func_defaults: *mut PyObject,
pub func_kwdefaults: *mut PyObject,
pub func_closure: *mut PyObject,
pub func_doc: *mut PyObject,
pub func_dict: *mut PyObject,
pub func_weakreflist: *mut PyObject,
pub func_module: *mut PyObject,
pub func_annotations: *mut PyObject,
pub vectorcall: Option<vectorcallfunc>,
}
Fields§
§ob_base: PyObject
§func_globals: *mut PyObject
§func_builtins: *mut PyObject
§func_name: *mut PyObject
§func_qualname: *mut PyObject
§func_code: *mut PyObject
§func_defaults: *mut PyObject
§func_kwdefaults: *mut PyObject
§func_closure: *mut PyObject
§func_doc: *mut PyObject
§func_dict: *mut PyObject
§func_weakreflist: *mut PyObject
§func_module: *mut PyObject
§func_annotations: *mut PyObject
§vectorcall: Option<vectorcallfunc>
Auto Trait Implementations§
impl Freeze for PyFunctionObject
impl RefUnwindSafe for PyFunctionObject
impl !Send for PyFunctionObject
impl !Sync for PyFunctionObject
impl Unpin for PyFunctionObject
impl UnwindSafe for PyFunctionObject
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