[−][src]Struct liquid_interpreter::RuntimeBuilder
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]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
[src]
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,