logo
pub trait VisitWrite: VisitOutput<Result<(), Error>> {
    fn writer(&mut self) -> &mut dyn Write;
}
Available on crate feature std only.
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