#[repr(C)]pub struct PyGenObject {
pub ob_base: PyObject,
pub gi_weakreflist: *mut PyObject,
pub gi_name: *mut PyObject,
pub gi_qualname: *mut PyObject,
pub gi_exc_state: _PyErr_StackItem,
pub gi_origin_or_finalizer: *mut PyObject,
pub gi_hooks_inited: i8,
pub gi_closed: i8,
pub gi_running_async: i8,
pub gi_frame_state: i8,
pub gi_iframe: [*mut PyObject; 1],
}
Fields§
§ob_base: PyObject
§gi_weakreflist: *mut PyObject
§gi_name: *mut PyObject
§gi_qualname: *mut PyObject
§gi_exc_state: _PyErr_StackItem
§gi_origin_or_finalizer: *mut PyObject
§gi_hooks_inited: i8
§gi_closed: i8
§gi_running_async: i8
§gi_frame_state: i8
§gi_iframe: [*mut PyObject; 1]
Trait Implementations§
Source§impl Clone for PyGenObject
impl Clone for PyGenObject
Source§fn clone(&self) -> PyGenObject
fn clone(&self) -> PyGenObject
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for PyGenObject
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