pub struct ProduceRecipe {
pub inputs: Vec<(Option<String>, i32)>,
pub output: Option<String>,
pub group: i32,
pub label: String,
}Expand description
One production recipe of a ConsumeProduceDescription: what a workplace uses and what it
makes.
Original: the 0x28-byte record read by FUN_140033050.
Fields§
§inputs: Vec<(Option<String>, i32)>Input raw-material templates and counts.
output: Option<String>The output raw-material template.
group: i32Stock group (manager slot of the limit check).
label: StringThe UI label key.
Trait Implementations§
Source§impl Clone for ProduceRecipe
impl Clone for ProduceRecipe
Source§fn clone(&self) -> ProduceRecipe
fn clone(&self) -> ProduceRecipe
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProduceRecipe
impl Debug for ProduceRecipe
Source§impl Default for ProduceRecipe
impl Default for ProduceRecipe
Source§fn default() -> ProduceRecipe
fn default() -> ProduceRecipe
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProduceRecipe
impl RefUnwindSafe for ProduceRecipe
impl Send for ProduceRecipe
impl Sync for ProduceRecipe
impl Unpin for ProduceRecipe
impl UnsafeUnpin for ProduceRecipe
impl UnwindSafe for ProduceRecipe
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