[][src]Struct liquid_interpreter::RuntimeBuilder

pub struct RuntimeBuilder<'g> { /* fields omitted */ }

Create processing runtime for a template.

Methods

impl<'g> RuntimeBuilder<'g>[src]

pub fn new() -> Self[src]

Creates a new, empty rendering runtime.

pub fn set_globals(self, values: &'g dyn ObjectView) -> Self[src]

Initialize the stack with the given globals.

pub fn set_partials(self, values: &'g dyn PartialStore) -> Self[src]

Initialize partial-templates availible for including.

pub fn build(self) -> Runtime<'g>[src]

Create the Runtime.

Trait Implementations

impl<'g> Default for RuntimeBuilder<'g>[src]

Auto Trait Implementations

impl<'g> !RefUnwindSafe for RuntimeBuilder<'g>

impl<'g> !Send for RuntimeBuilder<'g>

impl<'g> !Sync for RuntimeBuilder<'g>

impl<'g> Unpin for RuntimeBuilder<'g>

impl<'g> !UnwindSafe for RuntimeBuilder<'g>

Blanket Implementations

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

impl<T> Any for T where
    T: Any
[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.