[][src]Struct syn::punctuated::Pairs

pub struct Pairs<'a, T: 'a, P: 'a> { /* fields omitted */ }

An iterator over borrowed pairs of type Pair<&T, &P>.

Refer to the module documentation for details about punctuated sequences.

Trait Implementations

impl<'a, T, P> ExactSizeIterator for Pairs<'a, T, P>[src]

impl<'a, T, P> Clone for Pairs<'a, T, P>[src]

impl<'a, T, P> Iterator for Pairs<'a, T, P>[src]

type Item = Pair<&'a T, &'a P>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, T, P> Send for Pairs<'a, T, P> where
    P: Sync,
    T: Sync

impl<'a, T, P> Unpin for Pairs<'a, T, P>

impl<'a, T, P> Sync for Pairs<'a, T, P> where
    P: Sync,
    T: Sync

impl<'a, T, P> UnwindSafe for Pairs<'a, T, P> where
    P: RefUnwindSafe,
    T: RefUnwindSafe

impl<'a, T, P> RefUnwindSafe for Pairs<'a, T, P> where
    P: RefUnwindSafe,
    T: RefUnwindSafe

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<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> From<T> for T[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.

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

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

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