[][src]Module molt::types

Public Type Declarations

Re-exports

pub use crate::value::Value;

Structs

ContextID

A unique identifier, used to identify cached context data.

Subcommand

Used for defining subcommands of ensemble commands.

Enums

ResultCode

Exceptional results of evaluating a Molt script.

Traits

Command

A trait defining a Molt command object: a struct that implements a command (and may also have context data).

Type Definitions

CommandFunc

A simple command function, used to implement a command without any attached context data (other than the Interp itself).

ContextCommandFunc

A simple command function, used to implement a command that retrieves application context from the Interp's context cache.

MoltFloat

The standard floating point type for Molt code.

MoltInt

The standard integer type for Molt code.

MoltList

The standard list type for Molt code.

MoltResult

Molt's standard Result<T,E> type.