Enum evaltrees::ast::Literal[][src]

pub enum Literal {
    False,
    Int(usize),
    Nil,
    True,
}

A literal value.

Variants

The false boolean value.

An (unsigned) integer.

An empty list.

The true boolean value.

Trait Implementations

impl Clone for Literal
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Literal
[src]

impl Debug for Literal
[src]

Formats the value using the given formatter. Read more

impl Display for Literal
[src]

Formats the value using the given formatter. 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 !=.

Auto Trait Implementations

impl Send for Literal

impl Sync for Literal