pub trait ComponentValues {
// Required method
fn values<F: OutputFormat<Output = String>>(
&self,
reference: &Reference,
hints: &ProcHints,
options: &RenderOptions<'_>,
) -> Option<ProcValues<F::Output>>;
}Expand description
Trait for extracting values from template components.
Required Methods§
Sourcefn values<F: OutputFormat<Output = String>>(
&self,
reference: &Reference,
hints: &ProcHints,
options: &RenderOptions<'_>,
) -> Option<ProcValues<F::Output>>
fn values<F: OutputFormat<Output = String>>( &self, reference: &Reference, hints: &ProcHints, options: &RenderOptions<'_>, ) -> Option<ProcValues<F::Output>>
Resolve the component into processed render values for one reference.
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.