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