pub struct InteractiveMachineBuilder { /* private fields */ }
Expand description

Builder pattern to construct an interpreter for REPL operation.

This is a superset of a ScriptingMachineBuilder.

Unless otherwise specified, the interpreter is connected to an in-memory drive and to a stored program that can be edited interactively.

Implementations§

Returns the console that will be used for the machine.

Lazily initializes the program field with a default value and returns it.

Returns the storage subsystem that will be used for the machine.

Overrides the default stored program with the given one.

Builds the interpreter.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.