Enum cleaver::fe::ast::Literal [] [src]

pub enum Literal {
    Bool(bool),
    Int(i32),
    Float(f32),
    Str(String),
}

Variants

Methods

impl Literal
[src]

Trait Implementations

impl PartialEq for Literal
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Literal
[src]

Formats the value using the given formatter.