Struct liquid_interpreter::InterruptState[][src]

pub struct InterruptState { /* fields omitted */ }

The current interrupt state. The interrupt state is used by the break and continue tags to halt template rendering at a given point and unwind the render call stack until it reaches an enclosing for_loop. At that point the interrupt is cleared, and the for_loop carries on processing as directed.

Methods

impl InterruptState
[src]

An interrupt state is active.

Sets the interrupt state. Any previous state is obliterated.

Fetches and clears the interrupt state.

Trait Implementations

impl Debug for InterruptState
[src]

Formats the value using the given formatter. Read more

impl Clone for InterruptState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for InterruptState
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for InterruptState
[src]

impl Default for InterruptState
[src]

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

Auto Trait Implementations