Struct endbasic_std::MachineBuilder[][src]

pub struct MachineBuilder { /* fields omitted */ }
Expand description

Builder pattern to construct an EndBASIC interpreter.

Unless otherwise specified, the interpreter is connected to a terminal-based console.

Implementations

Overrides the default terminal-based console with the given one.

Overrides the default hardware-based GPIO pins with the given ones.

Overrides the default sleep function with the given one.

Builds the interpreter.

Extends the machine with interactive (REPL) features.

Trait Implementations

Returns the “default value” for a type. 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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

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.