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

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

Parsed twig number representation.

Variants

Trait Implementations

impl<'a> PartialEq for ConstNumberRef<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Debug for ConstNumberRef<'a>
[src]

Formats the value using the given formatter.

impl<'a> Copy for ConstNumberRef<'a>
[src]

impl<'a> Clone for ConstNumberRef<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Into<ConstNumber> for ConstNumberRef<'a>
[src]

Performs the conversion.