pub trait MakeOutput<T, 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§
Sourcefn visit_with<F>(&self, target: T, fields: &F) -> Outwhere
F: RecordFields,
fn visit_with<F>(&self, target: T, fields: &F) -> Outwhere
F: RecordFields,
Visits all fields in fields
with a new visitor constructed from
target
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.