Enum twig::tokens::ConstNumber [] [src]

pub enum ConstNumber {
    Big(String),
    Float(f64),
    Int(i64),
}

Parsed twig number representation.

Variants

Big
Float
Int

Trait Implementations

impl Display for ConstNumber

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

Derived Implementations

impl Clone for ConstNumber

fn clone(&self) -> ConstNumber

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

impl Debug for ConstNumber

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

impl PartialEq for ConstNumber

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

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