Enum twig::tokens::TokenValue
[−]
[src]
pub enum TokenValue { Text(String), BlockStart, VarStart, BlockEnd, VarEnd, Name(String), Value(Const), Operator(String), Punctuation(char), InterpolationStart, InterpolationEnd, CommentStart, }
Token value.
Variants
Text(String)
BlockStart
VarStart
BlockEnd
VarEnd
Name(String)
Value(Const)
Operator(String)
Punctuation(char)
InterpolationStart
InterpolationEnd
CommentStart
Methods
impl TokenValue
[src]
Trait Implementations
impl PartialEq for TokenValue
[src]
fn eq(&self, __arg_0: &TokenValue) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TokenValue) -> bool
This method tests for !=
.
impl Debug for TokenValue
[src]
impl Clone for TokenValue
[src]
fn clone(&self) -> TokenValue
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more