Enum liquid_interpreter::Expression[][src]

pub enum Expression {
    Variable(Variable),
    Literal(Value),
}

An un-evaluated Value.

Variants

Un-evaluated.

Evaluated.

Methods

impl Expression
[src]

Create an expression from a scalar literal.

Convert to a Value.

Trait Implementations

impl Debug for Expression
[src]

Formats the value using the given formatter. Read more

impl Clone for Expression
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Expression
[src]

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

This method tests for !=.

impl Display for Expression
[src]

Formats the value using the given formatter. Read more

impl Extend<Expression> for Variable
[src]

Extends a collection with the contents of an iterator. Read more

Auto Trait Implementations

impl Send for Expression

impl Sync for Expression