#[repr(C)]pub struct PyGenObject {
pub ob_refcnt: Py_ssize_t,
pub ob_type: *mut PyTypeObject,
pub gi_frame: *mut PyFrameObject,
pub gi_running: c_int,
pub gi_code: *mut PyObject,
pub gi_weakreflist: *mut PyObject,
}
Fields§
§ob_refcnt: Py_ssize_t
§ob_type: *mut PyTypeObject
§gi_frame: *mut PyFrameObject
§gi_running: c_int
§gi_code: *mut PyObject
§gi_weakreflist: *mut PyObject
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