Struct rubble_templates_evaluators::simple::compiler::TemplateCompiler[][src]

pub struct TemplateCompiler<E: Evaluator> { /* fields omitted */ }

Implementations

impl<E> TemplateCompiler<E> where
    E: Evaluator, 
[src]

pub fn new(engine: E) -> TemplateCompiler<E>[src]

Trait Implementations

impl<'a, E> Compiler<&'a Template> for TemplateCompiler<E> where
    E: Evaluator, 
[src]

type Item = TemplateSlice<'a>

Type of a single template part that can be compiled/evaluated/parsed. Read more

type ItemIterator = EvaluableMixedContentIterator<'a, Template>

Iterator that can provide template parts that need to be compiled.

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.