Enum twig::tokens::ConstRef
[−]
[src]
pub enum ConstRef<'a> { Num(ConstNumberRef<'a>), Str(&'a str), }
Variants
Num | |
Str |
pub enum ConstRef<'a> { Num(ConstNumberRef<'a>), Str(&'a str), }
Num | |
Str |
impl<'a> ConstRef<'a>
fn new_big_num<'c>(num: &'c str) -> ConstRef<'c>
fn new_float<'c>(num: f64) -> ConstRef<'c>
fn new_int<'c>(num: i64) -> ConstRef<'c>
fn new_str<'c>(s: &'c str) -> ConstRef<'c>
impl<'a> Into<Const> for ConstRef<'a>
impl<'a> Clone for ConstRef<'a>
fn clone(&self) -> ConstRef<'a>
fn clone_from(&mut self, source: &Self)
impl<'a> Copy for ConstRef<'a>
impl<'a> Debug for ConstRef<'a>
impl<'a> PartialEq for ConstRef<'a>