Struct itertools::structs::FormatWith [] [src]

pub struct FormatWith<'a, I, F> { /* 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_with() for more information.

Trait Implementations

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

Formats the value using the given formatter.