pub struct MachineId {
pub kind: String,
pub places: Vec<(String, usize, usize)>,
pub result: usize,
}Expand description
A machine making recipes of kind: its places ((kind's slot, index, inventory slot)) and its result slot.
Fields§
§kind: String§places: Vec<(String, usize, usize)>§result: usizeImplementations§
Trait Implementations§
impl StructuralPartialEq for MachineId
Auto Trait Implementations§
impl Freeze for MachineId
impl RefUnwindSafe for MachineId
impl Send for MachineId
impl Sync for MachineId
impl Unpin for MachineId
impl UnsafeUnpin for MachineId
impl UnwindSafe for MachineId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more