Enum twig::tokens::ConstNumberRef [] [src]

pub enum ConstNumberRef<'a> {
    Big(&'a str),
    Float(f64),
    Int(i64),
}

Parsed twig number representation.

Variants

Big
Float
Int

Trait Implementations

impl<'a> Into<ConstNumber> for ConstNumberRef<'a>

fn into(self) -> ConstNumber

Derived Implementations

impl<'a> Clone for ConstNumberRef<'a>

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

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

impl<'a> Copy for ConstNumberRef<'a>

impl<'a> Debug for ConstNumberRef<'a>

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

impl<'a> PartialEq for ConstNumberRef<'a>

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

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