[−][src]Struct pyrpds::iterators::PyObjectPairIterator
Implementations
impl PyObjectPairIterator
[src]
Trait Implementations
impl<'a> ExtractExt<'a> for &'a PyObjectPairIterator
[src]
type Target = PyRef<'a, PyObjectPairIterator>
impl<'a> ExtractExt<'a> for &'a mut PyObjectPairIterator
[src]
type Target = PyRefMut<'a, PyObjectPairIterator>
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]
unsafe fn alloc(_py: Python) -> *mut Self::Layout
[src]
unsafe fn dealloc(py: Python, self_: *mut Self::Layout)
[src]
impl<'p> PyIterIterProtocol<'p> for PyObjectPairIterator
[src]
type Success = Py<PyObjectPairIterator>
type Result = PyResult<Py<PyObjectPairIterator>>
impl<'p> PyIterNextProtocol<'p> for PyObjectPairIterator
[src]
impl<'p> PyIterProtocol<'p> for PyObjectPairIterator
[src]
fn __iter__(
slf: PyRefMut<Self>
) -> <PyObjectPairIterator as PyIterIterProtocol<'p>>::Result
[src]
slf: PyRefMut<Self>
) -> <PyObjectPairIterator as PyIterIterProtocol<'p>>::Result
fn __next__(
slf: PyRefMut<Self>
) -> <PyObjectPairIterator as PyIterNextProtocol<'p>>::Result
[src]
slf: PyRefMut<Self>
) -> <PyObjectPairIterator as PyIterNextProtocol<'p>>::Result
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
const NAME: &'static str
[src]
const MODULE: Option<&'static str>
[src]
const DESCRIPTION: &'static str
[src]
const FLAGS: usize
[src]
fn type_object() -> &'static PyTypeObject
[src]
fn is_instance(object: &PyAny) -> bool
[src]
fn is_exact_instance(object: &PyAny) -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for PyObjectPairIterator
impl Send for PyObjectPairIterator
impl Sync for PyObjectPairIterator
impl Unpin for PyObjectPairIterator
impl UnwindSafe for PyObjectPairIterator
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[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]
U: From<T>,
impl<T, U> IntoPy<U> for T where
U: FromPy<T>,
[src]
U: FromPy<T>,
impl<T> PyClassAlloc for T where
T: PyTypeInfo + PyClassWithFreeList,
[src]
T: PyTypeInfo + PyClassWithFreeList,
unsafe fn alloc(_py: Python) -> *mut <T as PyTypeInfo>::Layout
[src]
unsafe fn dealloc(py: Python, self_: *mut <T as PyTypeInfo>::Layout)
[src]
impl<T> PyMethodsProtocol for T where
T: PyMethodsInventoryDispatch,
[src]
T: PyMethodsInventoryDispatch,
fn py_methods() -> Vec<&'static PyMethodDefType>
[src]
impl<T> PyTypeObject for T where
T: PyTypeInfo,
[src]
T: PyTypeInfo,
fn type_object() -> Py<PyType>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,