pub trait MakeOutput<T, Out>: MakeVisitor<T> + Sealed<(T, Out)>
where Self::Visitor: VisitOutput<Out>,
{ // Provided method fn visit_with<F>(&self, target: T, fields: &F) -> Out where F: RecordFields { ... } }
Expand description

Extension trait implemented for all MakeVisitor implementations that produce a visitor implementing VisitOutput.

Provided Methods§

source

fn visit_with<F>(&self, target: T, fields: &F) -> Out
where F: RecordFields,

Visits all fields in fields with a new visitor constructed from target.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T, Out, M> MakeOutput<T, Out> for M
where M: MakeVisitor<T>, <M as MakeVisitor<T>>::Visitor: VisitOutput<Out>,