Enum twig::nodes::expr::ExprConstant [] [src]

pub enum ExprConstant<'c> {
    Str(&'c str),
    Bool(bool),
    Int(i64),
    Float(f64),
    Big(&'c str),
    Null,
}

Variants

Str
Bool
Int
Float
Big
Null

Trait Implementations

Derived Implementations

impl<'c> Clone for ExprConstant<'c>

fn clone(&self) -> ExprConstant<'c>

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

impl<'c> PartialEq for ExprConstant<'c>

fn eq(&self, __arg_0: &ExprConstant<'c>) -> bool

fn ne(&self, __arg_0: &ExprConstant<'c>) -> bool

impl<'c> Debug for ExprConstant<'c>

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

impl<'c> Clone for ExprConstant<'c>

fn clone(&self) -> ExprConstant<'c>

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

impl<'c> PartialEq for ExprConstant<'c>

fn eq(&self, __arg_0: &ExprConstant<'c>) -> bool

fn ne(&self, __arg_0: &ExprConstant<'c>) -> bool

impl<'c> Debug for ExprConstant<'c>

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