Enum gluon_base::ast::Literal[][src]

pub enum Literal {
    Byte(u8),
    Int(i64),
    Float(NotNaN<f64>),
    String(String),
    Char(char),
}

Variants

Trait Implementations

impl Clone for Literal
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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 Eq for Literal
[src]

impl Hash for Literal
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Literal
[src]

Formats the value using the given formatter. Read more

impl Typed for Literal
[src]

Auto Trait Implementations

impl Send for Literal

impl Sync for Literal