fn extend_from_iter(
        &mut self,
        iter: impl Iterator<Item = Word>,
    ) -> Result<(), Self::WriteError> {
        for word in iter {
            self.write(word)?;
        }
        Ok(())
    }
/// Writes a sequence of `Word`s to the data sink, short-circuiting on error.
///
/// The default implementation calls [`write`] for each word. You may want to overwrite
/// this if your data sink can perform additional optimizations (e.g., by utilizing the
/// provided iterator's `size_hint`).
Writes a sequence of `Word`s to the data sink, short-circuiting on error.
The default implementation calls [`write`] for each word. You may want to overwrite
this if your data sink can perform additional optimizations .
Writes a sequence of ` Word ` s to the data sink short - circuiting on error . The default implementation calls [ ` write ` ] for each word . You may want to overwrite this if your data sink can perform additional optimizations .
fn extend_from_iter(
        &mut self,
        iter: impl Iterator<Item = Word>,
    ) -> Result<(), Self::WriteError> {
        for word in iter {
            self.write(word)?;
        }
        Ok(())
    }
fn extend_from_iter ( & mut self , iter : impl Iterator < Item = Word > , ) -> Result < ( ) , Self :: WriteError > { for word in iter { self . write ( word ) ? ; } Ok ( ( ) ) }
Writes a sequence of `Word`s to the data sink, short-circuiting on error.
Writes a sequence of ` Word ` s to the data sink short - circuiting on error .
&mut self
iter
impl Iterator<Item = Word>
&mut self
iter
impl Iterator<Item = Word>