Enum twig::tokens::Const
[−]
[src]
pub enum Const { Num(ConstNumber), Str(String), }
Variants
Num(ConstNumber)
Str(String)
Trait Implementations
impl PartialEq for Const
[src]
fn eq(&self, __arg_0: &Const) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Const) -> bool
This method tests for !=
.
impl Debug for Const
[src]
impl Clone for Const
[src]
fn clone(&self) -> Const
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