[][src]Struct nommy::Cursor

pub struct Cursor<'a, I: Iterator> { /* fields omitted */ }

Implementations

impl<'a, I: Iterator> Cursor<'a, I>[src]

pub fn cursor(&mut self) -> Cursor<'_, I>

Notable traits for Cursor<'a, I>

impl<'a, I: Iterator> Iterator for Cursor<'a, I> where
    I::Item: Clone
type Item = I::Item;
[src]

pub fn close(self) -> usize[src]

pub fn skip(&mut self, n: usize)[src]

Trait Implementations

impl<'a, I: Iterator> Iterator for Cursor<'a, I> where
    I::Item: Clone
[src]

type Item = I::Item

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, I> RefUnwindSafe for Cursor<'a, I> where
    I: RefUnwindSafe,
    <I as Iterator>::Item: RefUnwindSafe
[src]

impl<'a, I> Send for Cursor<'a, I> where
    I: Send,
    <I as Iterator>::Item: Send
[src]

impl<'a, I> Sync for Cursor<'a, I> where
    I: Sync,
    <I as Iterator>::Item: Sync
[src]

impl<'a, I> Unpin for Cursor<'a, I>[src]

impl<'a, I> !UnwindSafe for Cursor<'a, I>[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, 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, 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.