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 VisitFmt for DefaultVisitor<'_>
Available on crate features
fmt
and std
only.impl VisitFmt for JsonVisitor<'_>
Available on crate features
fmt
and std
only.impl VisitFmt for PrettyVisitor<'_>
Available on crate features
fmt
and std
only.impl<'a, F> VisitFmt for FieldFnVisitor<'a, F>
Available on crate features
fmt
and std
only.