pub fn flush(&mut self) -> CalResult<&mut Self> {
        self.writer.print(&self.buf)?;
        self.buf.clear();
        Ok(self)
    }
/// Flush the emitter. This will clear the internal buffer.
///
/// # Errors
///
/// This function will error if the emitter could not print the contents of
/// the internal buffer.
Flush the emitter. This will clear the internal buffer.
Flush the emitter . This will clear the internal buffer .
pub fn flush(&mut self) -> CalResult<&mut Self> {
        self.writer.print(&self.buf)?;
        self.buf.clear();
        Ok(self)
    }
pub fn flush ( & mut self ) -> CalResult < & mut Self > { self . writer . print ( & self . buf ) ? ; self . buf . clear ( ) ; Ok ( self ) }
Flush the emitter.
Flush the emitter .
&mut self
&mut self
errors
This function will error if the emitter could not print the contents of
the internal buffer.
This function will error if the emitter could not print the contents of the internal buffer .