[][src]Struct pyrpds::iterators::PyObjectPairIterator

pub struct PyObjectPairIterator { /* fields omitted */ }

Implementations

impl PyObjectPairIterator[src]

#[must_use]pub fn new(iterator: IntoIter<(PyObject, PyObject)>) -> Self[src]

Trait Implementations

impl<'a> ExtractExt<'a> for &'a PyObjectPairIterator[src]

impl<'a> ExtractExt<'a> for &'a mut PyObjectPairIterator[src]

impl IntoPy<PyObject> for PyObjectPairIterator[src]

impl PyClass for PyObjectPairIterator[src]

type Dict = PyClassDummySlot

Specify this class has #[pyclass(dict)] or not.

type WeakRef = PyClassDummySlot

Specify this class has #[pyclass(weakref)] or not.

type BaseNativeType = PyAny

The closest native ancestor. This is PyAny by default, and when you declare #[pyclass(extends=PyDict)], it's PyDict. Read more

impl PyClassAlloc for PyObjectPairIterator[src]

impl<'p> PyIterIterProtocol<'p> for PyObjectPairIterator[src]

impl<'p> PyIterNextProtocol<'p> for PyObjectPairIterator[src]

impl<'p> PyIterProtocol<'p> for PyObjectPairIterator[src]

impl PyMethodsInventoryDispatch for PyObjectPairIterator[src]

type InventoryType = PyObjectPairIteratorGeneratedPyo3Inventory

This allows us to get the inventory type when only the pyclass is in scope

impl PyTypeInfo for PyObjectPairIterator[src]

type Type = PyObjectPairIterator

Type of objects to store in PyObject struct

type BaseType = PyAny

Base class

type Layout = PyCell<Self>

Layout

type BaseLayout = PyCellBase<PyAny>

Layout of Basetype.

type Initializer = PyClassInitializer<Self>

Initializer for layout

type AsRefTarget = PyCell<Self>

Utility type to make AsPyRef work

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> FromPy<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> IntoPy<U> for T where
    U: FromPy<T>, 
[src]

impl<T> PyClassAlloc for T where
    T: PyTypeInfo + PyClassWithFreeList
[src]

impl<T> PyMethodsProtocol for T where
    T: PyMethodsInventoryDispatch, 
[src]

impl<T> PyTypeObject for T where
    T: PyTypeInfo
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.