#[repr(C)]
pub struct PyStopIterationObject { pub ob_base: PyObject, pub dict: *mut PyObject, pub args: *mut PyObject, pub traceback: *mut PyObject, pub context: *mut PyObject, pub cause: *mut PyObject, pub suppress_context: char, pub value: *mut PyObject, }

Fields

ob_base: PyObjectdict: *mut PyObject
Available on non-PyPy only.
args: *mut PyObject
Available on non-PyPy only.
traceback: *mut PyObject
Available on non-PyPy only.
context: *mut PyObject
Available on non-PyPy only.
cause: *mut PyObject
Available on non-PyPy only.
suppress_context: char
Available on non-PyPy only.
value: *mut PyObject

Trait Implementations

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 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.