[][src]Struct plexus::Perimeter

pub struct Perimeter<I> where
    I: Iterator,
    I::Item: Clone
{ /* fields omitted */ }

Iterator that produces a window of duplets over its input.

The duplets produced include the first value in the input sequence at both the beginning and end of the iteration, forming a perimeter. Given a collection of ordered elements $\{a, b, c\}$, this iterator yields the ordered items $\{(a, b), (b, c), (c, a)\}$.

Trait Implementations

impl<I> Iterator for Perimeter<I> where
    I: Iterator,
    I::Item: Clone
[src]

type Item = (I::Item, I::Item)

The type of the elements being iterated over.

Auto Trait Implementations

impl<I> Send for Perimeter<I> where
    I: Send,
    <I as Iterator>::Item: Send

impl<I> Sync for Perimeter<I> where
    I: Sync,
    <I as Iterator>::Item: Sync

impl<I> Unpin for Perimeter<I> where
    I: Unpin,
    <I as Iterator>::Item: Unpin

impl<I> UnwindSafe for Perimeter<I> where
    I: UnwindSafe,
    <I as Iterator>::Item: UnwindSafe

impl<I> RefUnwindSafe for Perimeter<I> where
    I: RefUnwindSafe,
    <I as Iterator>::Item: RefUnwindSafe

Blanket Implementations

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

impl<T, U> IntoGeometry<U> for T where
    U: FromGeometry<T>, 
[src]

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

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]

impl<T> Itertools for T where
    T: Iterator + ?Sized
[src]

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

impl<T> Itertools for T where
    T: Iterator + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,