#[repr(C)]pub struct PyGenObject {
pub ob_base: PyObject,
pub gi_frame: *mut PyFrameObject,
pub gi_running: c_int,
pub gi_code: *mut PyObject,
pub gi_weakreflist: *mut PyObject,
pub gi_name: *mut PyObject,
pub gi_qualname: *mut PyObject,
pub gi_exc_state: _PyErr_StackItem,
}
Available on non-
Py_LIMITED_API
and neither PyPy
nor GraalPy
nor Py_3_14
only.Fields§
§ob_base: PyObject
§gi_frame: *mut PyFrameObject
Available on non-
§Py_3_11
only.gi_running: c_int
Available on non-
§Py_3_10
only.gi_code: *mut PyObject
Available on non-
§Py_3_12
only.gi_weakreflist: *mut PyObject
§gi_name: *mut PyObject
§gi_qualname: *mut PyObject
§gi_exc_state: _PyErr_StackItem
Auto Trait Implementations§
impl Freeze for PyGenObject
impl RefUnwindSafe for PyGenObject
impl !Send for PyGenObject
impl !Sync for PyGenObject
impl Unpin for PyGenObject
impl UnwindSafe for PyGenObject
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
Source§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)] const IS_ZST: bool = _
#[doc(hidden)] const IS_ZST: bool = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const LAYOUT: Layout = _
#[doc(hidden)] const LAYOUT: Layout = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const MAX_SLICE_LEN: usize = _
#[doc(hidden)] const MAX_SLICE_LEN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)The largest safe length for a
[Self]
. Read more