Struct rhit::CircularTupleWindows[][src]

#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]pub struct CircularTupleWindows<I, T> where
    T: Clone + TupleCollect,
    I: Iterator<Item = <T as TupleCollect>::Item> + Clone
{ /* fields omitted */ }

An iterator over all windows,wrapping back to the first elements when the window would otherwise exceed the length of the iterator, producing tuples of a specific size.

See .circular_tuple_windows() for more information.

Trait Implementations

impl<I, T> Debug for CircularTupleWindows<I, T> where
    T: Clone + Debug + TupleCollect,
    I: Debug + Iterator<Item = <T as TupleCollect>::Item> + Clone
[src]

impl<I, T> Iterator for CircularTupleWindows<I, T> where
    T: TupleCollect + Clone,
    I: Iterator<Item = <T as TupleCollect>::Item> + Clone,
    <T as TupleCollect>::Item: Clone
[src]

type Item = T

The type of the elements being iterated over.

Auto Trait Implementations

impl<I, T> RefUnwindSafe for CircularTupleWindows<I, T> where
    I: RefUnwindSafe,
    T: RefUnwindSafe
[src]

impl<I, T> Send for CircularTupleWindows<I, T> where
    I: Send,
    T: Send
[src]

impl<I, T> Sync for CircularTupleWindows<I, T> where
    I: Sync,
    T: Sync
[src]

impl<I, T> Unpin for CircularTupleWindows<I, T> where
    I: Unpin,
    T: Unpin
[src]

impl<I, T> UnwindSafe for CircularTupleWindows<I, T> where
    I: UnwindSafe,
    T: UnwindSafe
[src]

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> Fun for T[src]

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> Itertools for T where
    T: Iterator + ?Sized
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

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.