Struct rubble_templates::compiler::TemplateCompiler [−][src]
pub struct TemplateCompiler<E: Evaluator> { /* fields omitted */ }
Implementations
Trait Implementations
type Item = TemplateSlice<'a>
type Item = TemplateSlice<'a>
Type of a single template part that can be compiled/evaluated/parsed. Read more
type ItemIterator = EvaluableMixedContentIterator<'a, Template>
type ItemIterator = EvaluableMixedContentIterator<'a, Template>
Iterator that can provide template parts that need to be compiled.
fn compile<C>(
&self,
content: C,
context: Context
) -> Result<String, CompilationError> where
C: EvaluableMixedContent<&'a Template, Item = Self::Item, IntoIter = Self::ItemIterator>,
[src]Auto Trait Implementations
impl<E> RefUnwindSafe for TemplateCompiler<E> where
E: RefUnwindSafe,
impl<E> Send for TemplateCompiler<E> where
E: Send,
impl<E> Sync for TemplateCompiler<E> where
E: Sync,
impl<E> Unpin for TemplateCompiler<E> where
E: Unpin,
impl<E> UnwindSafe for TemplateCompiler<E> where
E: UnwindSafe,