pub trait VisitFmt: VisitOutput<Result> {
// Required method
fn writer(&mut self) -> &mut dyn Write;
}
Expand description
Extension trait implemented by visitors to indicate that they write to a
fmt::Write
instance, and allow access to that writer.
Required Methods§
Implementors§
impl<'a> VisitFmt for DefaultVisitor<'a>
Available on crate features
fmt
and std
only.impl<'a> VisitFmt for PrettyVisitor<'a>
Available on crate features
fmt
and std
only.impl<'a, F> VisitFmt for FieldFnVisitor<'a, F>
Available on crate features
fmt
and std
only.