logo
pub trait VisitWrite: VisitOutput<Result<(), Error>> {
    fn writer(&mut self) -> &mut dyn Write;
}
Expand description

Extension trait implemented by visitors to indicate that they write to an io::Write instance, and allow access to that writer.

Required methods

Returns the writer that this visitor writes to.

Implementors