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