/// 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()`](crate::Itertools::format_with) for more information. #[derive(Clone)] pubstruct FormatWith<'a, I, F> {
sep: &'a str, /// FormatWith uses interior mutability because Display::fmt takes &self.
inner: RefCell<Option<(I, F)>>,
}
/// Format all iterator elements lazily, separated by `sep`. /// /// The format value can only be formatted once, after that the iterator is /// exhausted. /// /// See [`.format()`](crate::Itertools::format) /// for more information. #[derive(Clone)] pubstruct Format<'a, I> {
sep: &'a str, /// Format uses interior mutability because Display::fmt takes &self.
inner: RefCell<Option<I>>,
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.