#[repr(C)]
pub struct PyFrameObject {
Show 18 fields pub ob_base: PyVarObject, pub f_back: *mut PyFrameObject, pub f_code: *mut PyCodeObject, pub f_builtins: *mut PyObject, pub f_globals: *mut PyObject, pub f_locals: *mut PyObject, pub f_valuestack: *mut *mut PyObject, pub f_stacktop: *mut *mut PyObject, pub f_trace: *mut PyObject, pub f_trace_lines: i8, pub f_trace_opcodes: i8, pub f_gen: *mut PyObject, pub f_lasti: i32, pub f_lineno: i32, pub f_iblock: i32, pub f_executing: i8, pub f_blockstack: [PyTryBlock; 20], pub f_localsplus: [*mut PyObject; 1],
}
Available on neither PyPy nor Py_3_11.

Fields

ob_base: PyVarObjectf_back: *mut PyFrameObjectf_code: *mut PyCodeObjectf_builtins: *mut PyObjectf_globals: *mut PyObjectf_locals: *mut PyObjectf_valuestack: *mut *mut PyObjectf_stacktop: *mut *mut PyObject
Available on non-Py_3_10 only.
f_trace: *mut PyObjectf_trace_lines: i8f_trace_opcodes: i8f_gen: *mut PyObjectf_lasti: i32f_lineno: i32f_iblock: i32f_executing: i8
Available on non-Py_3_10 only.
f_blockstack: [PyTryBlock; 20]f_localsplus: [*mut PyObject; 1]

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

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.