Enum twig::tokens::TokenValueRef [] [src]

pub enum TokenValueRef<'a> {
    Text(&'a str),
    BlockStart,
    VarStart,
    BlockEnd,
    VarEnd,
    Name(&'a str),
    Value(ConstRef<'a>),
    Operator(&'a str),
    Punctuation(char),
    InterpolationStart,
    InterpolationEnd,
    CommentStart,
}

Token value.

Variants

Trait Implementations

impl<'a> PartialEq for TokenValueRef<'a>
[src]

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

This method tests for !=.

impl<'a> Debug for TokenValueRef<'a>
[src]

Formats the value using the given formatter.

impl<'a> Copy for TokenValueRef<'a>
[src]

impl<'a> Clone for TokenValueRef<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Into<TokenValue> for TokenValueRef<'a>
[src]

Performs the conversion.