pub struct RenderConfig<'render> {
pub templates: Vec<Template<'render>>,
pub strict_mode: bool,
}
Templates to be loaded for renderer. List of template name, data
Whether parser is in strict mode:
If true, a variable used in template that is undefined would raise an error
if false, an undefined variable would evaluate to ‘falsey’
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the current Span, returning an
Instrumented wrapper. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,