Expand description
Basic machine that can process recipes. Mods are encouraged to not export this, and instead define their own wrappers like
use rustorio_engine::{machine::Machine, recipe::Recipe, Sealed};
trait AssemblerRecipe: Recipe + Sealed {}
pub struct Assembler<R: AssemblerRecipe>(Machine<R>);Structs§
- Machine
- Basic machine that can process recipes.
- Machine
NotEmpty Error - Error returned when trying to change a machine’s recipe while it has non-empty input or output buffers.
Enums§
- Buffer
Location - Location of a resource buffer in a machine.