/// Emit each item to the output using the given emit function.
Emit each item to the output using the given emit function.
Emit each item to the output using the given emit function .
pub fn emit_repeated<I, E, O>(items: I, output: &mut O, emit: E) -> Result<usize, EmitError>
where
    I: IntoIterator,
    <I as IntoIterator>::IntoIter: Clone,
    O: Write + ?Sized,
    E: Fn(I::Item, &mut O) -> Result<usize, EmitError>,
{
    emit_iterator(items, output, false, emit)
}
pub fn emit_repeated < I , E , O > ( items : I , output : & mut O , emit : E ) -> Result < usize , EmitError > where I : IntoIterator , < I as IntoIterator > :: IntoIter : Clone , O : Write + ? Sized , E : Fn ( I :: Item , & mut O ) -> Result < usize , EmitError > , { emit_iterator ( items , output , false , emit ) }
Emit each item to the output using the given emit function.
Emit each item to the output using the given emit function .
items
I
output
&mut O
emit
E