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

Text
BlockStart
VarStart
BlockEnd
VarEnd
Name
Value
Operator
Punctuation
InterpolationStart
InterpolationEnd
CommentStart

Trait Implementations

impl<'a> Into<TokenValue> for TokenValueRef<'a>

fn into(self) -> TokenValue

Derived Implementations

impl<'a> Clone for TokenValueRef<'a>

fn clone(&self) -> TokenValueRef<'a>

fn clone_from(&mut self, source: &Self)

impl<'a> Copy for TokenValueRef<'a>

impl<'a> Debug for TokenValueRef<'a>

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl<'a> PartialEq for TokenValueRef<'a>

fn eq(&self, __arg_0: &TokenValueRef<'a>) -> bool

fn ne(&self, __arg_0: &TokenValueRef<'a>) -> bool