pub enum LowerTarget {
Askama,
MiniJinja,
}Expand description
Which template engine the lowered output targets.
Variants§
Askama
Compile-time Askama. Rust expressions inside directives are valid.
MiniJinja
Runtime MiniJinja. Spark directives lower to function calls that the
runtime registers on the Environment; other Rust-flavored directives
pass through unchanged (and will likely fail at render time if used).
Trait Implementations§
Source§impl Clone for LowerTarget
impl Clone for LowerTarget
Source§fn clone(&self) -> LowerTarget
fn clone(&self) -> LowerTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LowerTarget
impl Debug for LowerTarget
Source§impl Default for LowerTarget
impl Default for LowerTarget
Source§fn default() -> LowerTarget
fn default() -> LowerTarget
Returns the “default value” for a type. Read more
Source§impl PartialEq for LowerTarget
impl PartialEq for LowerTarget
Source§fn eq(&self, other: &LowerTarget) -> bool
fn eq(&self, other: &LowerTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LowerTarget
impl Eq for LowerTarget
impl StructuralPartialEq for LowerTarget
Auto Trait Implementations§
impl Freeze for LowerTarget
impl RefUnwindSafe for LowerTarget
impl Send for LowerTarget
impl Sync for LowerTarget
impl Unpin for LowerTarget
impl UnsafeUnpin for LowerTarget
impl UnwindSafe for LowerTarget
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more