Enum pr47::syntax::expr::LiteralExprContent[][src]

pub enum LiteralExprContent<'a> {
    Int(i64),
    Float(f64),
    Char(char),
    String(&'a str),
    Boolean(bool),
}

Variants

Int(i64)

Tuple Fields of Int

0: i64
Float(f64)

Tuple Fields of Float

0: f64
Char(char)

Tuple Fields of Char

0: char
String(&'a str)

Tuple Fields of String

0: &'a str
Boolean(bool)

Tuple Fields of Boolean

0: bool

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.