[][src]Struct mercurius::Tail

pub struct Tail<I, H, F, G, T> where
    G: IntoIterator<Item = T, IntoIter = H>,
    H: Iterator<Item = T>,
    F: Fn(Ref<Option<FrontMatter>>) -> G, 
{ /* fields omitted */ }

An iterator places events at the end of the original one.

This struct is created by tail method on MarkdownExt.

Implementations

impl<I, H, F, G, T> Tail<I, H, F, G, T> where
    G: IntoIterator<Item = T, IntoIter = H>,
    H: Iterator<Item = T>,
    F: Fn(Ref<Option<FrontMatter>>) -> G, 
[src]

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

Constructs a new Tail.

Trait Implementations

impl<I, H, F, G, T> Iterator for Tail<I, H, F, G, T> where
    I: Iterator<Item = T>,
    H: Iterator<Item = T>,
    G: IntoIterator<Item = T, IntoIter = H>,
    F: Fn(Ref<Option<FrontMatter>>) -> G, 
[src]

type Item = T

The type of the elements being iterated over.

impl<I, H, F, G, T> MarkdownExt<T> for Tail<I, H, F, G, T> where
    I: Iterator<Item = T>,
    H: Iterator<Item = T>,
    G: IntoIterator<Item = T, IntoIter = H>,
    F: Fn(Ref<Option<FrontMatter>>) -> G, 
[src]

Auto Trait Implementations

impl<I, H, F, G, T> !RefUnwindSafe for Tail<I, H, F, G, T>

impl<I, H, F, G, T> !Send for Tail<I, H, F, G, T>

impl<I, H, F, G, T> !Sync for Tail<I, H, F, G, T>

impl<I, H, F, G, T> Unpin for Tail<I, H, F, G, T> where
    F: Unpin,
    H: Unpin,
    I: Unpin

impl<I, H, F, G, T> !UnwindSafe for Tail<I, H, F, G, T>

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.