Enum cleaver::fe::ast::Literal
[−]
[src]
pub enum Literal { Bool(bool), Int(i32), Float(f32), Str(String), }
Variants
Bool(bool)
Int(i32)
Float(f32)
Str(String)
Methods
impl Literal
[src]
Trait Implementations
impl PartialEq for Literal
[src]
fn eq(&self, __arg_0: &Literal) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Literal) -> bool
This method tests for !=
.