#[repr(C)]
pub struct PyFunctionObject {
Show 14 fields pub ob_base: PyObject, pub func_code: *mut PyObject, pub func_globals: *mut PyObject, pub func_defaults: *mut PyObject, pub func_kwdefaults: *mut PyObject, pub func_closure: *mut PyObject, pub func_doc: *mut PyObject, pub func_name: *mut PyObject, pub func_dict: *mut PyObject, pub func_weakreflist: *mut PyObject, pub func_module: *mut PyObject, pub func_annotations: *mut PyObject, pub func_qualname: *mut PyObject, pub vectorcall: Option<vectorcallfunc>,
}

Fields

ob_base: PyObjectfunc_code: *mut PyObjectfunc_globals: *mut PyObjectfunc_defaults: *mut PyObjectfunc_kwdefaults: *mut PyObjectfunc_closure: *mut PyObjectfunc_doc: *mut PyObjectfunc_name: *mut PyObjectfunc_dict: *mut PyObjectfunc_weakreflist: *mut PyObjectfunc_module: *mut PyObjectfunc_annotations: *mut PyObjectfunc_qualname: *mut PyObjectvectorcall: Option<vectorcallfunc>

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.