[][src]Struct quatrain::IterWith

pub struct IterWith<I, F, G> { /* fields omitted */ }

An iterator link another iterator, lazily.

This struct is created by iter_with method on MarkdownExt.

Implementations

impl<I, F, G> IterWith<I, F, G>[src]

pub fn new(
    frontmatter: Share<RefCell<Option<FrontMatter>>>,
    iter: I,
    f: F
) -> Self
[src]

Trait Implementations

impl<I: Debug, F: Debug, G: Debug> Debug for IterWith<I, F, G>[src]

impl<I, T, F, G> Iterator for IterWith<I, F, G> where
    I: Iterator<Item = T>,
    G: Iterator<Item = T>,
    F: FnOnce() -> G, 
[src]

type Item = T

The type of the elements being iterated over.

impl<I, T, F, G> MarkdownExt<T> for IterWith<I, F, G> where
    I: Iterator<Item = T>,
    G: Iterator<Item = T>,
    F: FnOnce() -> G, 
[src]

Auto Trait Implementations

impl<I, F, G> !RefUnwindSafe for IterWith<I, F, G>

impl<I, F, G> !Send for IterWith<I, F, G>

impl<I, F, G> !Sync for IterWith<I, F, G>

impl<I, F, G> Unpin for IterWith<I, F, G> where
    F: Unpin,
    G: Unpin,
    I: Unpin

impl<I, F, G> !UnwindSafe for IterWith<I, F, G>

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.