Trait bevy::log::tracing_subscriber::field::VisitOutput
pub trait VisitOutput<Out>: Visit {
// Required method
fn finish(self) -> Out;
// Provided method
fn visit<R>(self, fields: &R) -> Out
where R: RecordFields,
Self: Sized { ... }
}
Expand description
A visitor that produces output once it has visited a set of fields.
Required Methods§
fn finish(self) -> Out
fn finish(self) -> Out
Completes the visitor, returning any output.
This is called once a full set of fields has been visited.
Provided Methods§
fn visit<R>(self, fields: &R) -> Outwhere
R: RecordFields,
Self: Sized,
fn visit<R>(self, fields: &R) -> Outwhere
R: RecordFields,
Self: Sized,
Visit a set of fields, and return the output of finishing the visitor once the fields have been visited.