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

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

Variants

Num
Str

Trait Implementations

impl Display for Const

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

Derived Implementations

impl Clone for Const

fn clone(&self) -> Const

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

impl Debug for Const

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

impl PartialEq for Const

fn eq(&self, __arg_0: &Const) -> bool

fn ne(&self, __arg_0: &Const) -> bool