[][src]Struct cpp_core::CppIterator

pub struct CppIterator<T1, T2> where
    T1: CppDeletable,
    T2: CppDeletable
{ /* fields omitted */ }

Iterator and DoubleEndedIterator backed by C++ iterators.

This object is produced by IntoIterator implementations on pointer types (&CppBox, &mut CppBox, Ptr, MutPtr, Ref, MutRef). You can also use cpp_iter function to construct it manually from two C++ iterator objects.

Trait Implementations

impl<T1, T2> Iterator for CppIterator<T1, T2> where
    T1: CppDeletable + PartialEq<Ref<T2>> + Indirection + Increment,
    T2: CppDeletable
[src]

type Item = <T1 as Indirection>::Output

The type of the elements being iterated over.

impl<T1, T2> DoubleEndedIterator for CppIterator<T1, T2> where
    T1: CppDeletable + PartialEq<Ref<T2>> + Indirection + Increment,
    T2: CppDeletable + Decrement + Indirection<Output = <T1 as Indirection>::Output>, 
[src]

Auto Trait Implementations

impl<T1, T2> !Send for CppIterator<T1, T2>

impl<T1, T2> !Sync for CppIterator<T1, T2>

impl<T1, T2> Unpin for CppIterator<T1, T2>

impl<T1, T2> UnwindSafe for CppIterator<T1, T2> where
    T1: RefUnwindSafe,
    T2: RefUnwindSafe

impl<T1, T2> RefUnwindSafe for CppIterator<T1, T2> where
    T1: RefUnwindSafe,
    T2: RefUnwindSafe

Blanket Implementations

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

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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.

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

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

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