Enum twig::tokens::Const [] [src]

pub enum Const {
    Num(ConstNumber),
    Str(String),
}

Variants

Trait Implementations

impl PartialEq for Const
[src]

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

This method tests for !=.

impl Debug for Const
[src]

Formats the value using the given formatter.

impl Clone for Const
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Const
[src]

Formats the value using the given formatter. Read more