pub fn format_elems<F, T, E>(
    buf: &mut F,
    elems: impl IntoIterator<Item = T>,
    format_elem: impl FnMut(ListElementWriter<'_, F>, T) -> Result<Nestable, E>,
    sep: char
) -> Result<(), E> where
    F: FormatBuffer
Expand description

Writes each elem into buf, separating the elems with sep.