Enum endbasic_core::syms::Symbol[][src]

pub enum Symbol {
    Array(Array),
    Command(Rc<dyn Command>),
    Function(Rc<dyn Function>),
    Variable(Value),
}
Expand description

Holds the definition of a symbol.

Variants

Array(Array)

An array definition.

Tuple Fields of Array

0: Array
Command(Rc<dyn Command>)

A command definition.

Tuple Fields of Command

0: Rc<dyn Command>
Function(Rc<dyn Function>)

A function definition.

Tuple Fields of Function

0: Rc<dyn Function>
Variable(Value)

A variable definition.

Tuple Fields of Variable

0: Value

Implementations

Returns the metadata for the symbol, if any.

Trait Implementations

Formats the value using the given formatter. Read more

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.