Struct liquid_interpreter::Stack[][src]

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

Stack of variables.

Methods

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

Create an empty stack

Create a stack initialized with read-only Globals.

Recursively index into the stack.

Sets a value in the global context.

Sets a value to the rendering context. Note that it needs to be wrapped in a liquid::Value.

Panics

Panics if there is no frame on the local values stack. Context instances are created with a top-level stack frame in place, so this should never happen in a well-formed program.

Trait Implementations

impl<'g> Debug for Stack<'g>
[src]

Formats the value using the given formatter. Read more

impl<'g> Clone for Stack<'g>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Returns the "default value" for a type. Read more

Auto Trait Implementations

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

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