Struct itertools::Format [] [src]

pub struct Format<'a, I, F> {
    // some fields omitted
}

Format all iterator elements lazily, separated by sep.

The format value can only be formatted once, after that the iterator is exhausted.

See .format() for more information.

Trait Implementations

impl<'a, I, F> Display for Format<'a, I, F> where I: Iterator, F: FnMut(I::Item, &mut FnMut(&Display) -> Result) -> Result
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.