Struct pyo3_ffi::PyGenObject
source · [−]#[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,
}
Fields
ob_base: PyObject
gi_frame: *mut PyFrameObject
gi_running: c_int
gi_code: *mut PyObject
gi_weakreflist: *mut PyObject
gi_name: *mut PyObject
gi_qualname: *mut PyObject
gi_exc_state: _PyErr_StackItem
Trait Implementations
sourceimpl Clone for PyGenObject
impl Clone for PyGenObject
sourcefn clone(&self) -> PyGenObject
fn clone(&self) -> PyGenObject
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for PyGenObject
Auto Trait Implementations
impl RefUnwindSafe for PyGenObject
impl !Send for PyGenObject
impl !Sync for PyGenObject
impl Unpin for PyGenObject
impl UnwindSafe for PyGenObject
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more