Struct minecraft_assets::recipes::BlastFurnaceRecipe
source · pub struct BlastFurnaceRecipe {
pub common: CommonRecipeData,
pub ingredient: Ingredient,
pub ingredients: Vec<Ingredient>,
pub result: String,
pub experience: f64,
pub cooking_time: Option<i32>,
}Expand description
A struct for a blast furnace recipe
Fields§
§common: CommonRecipeDataThe common recipe data
ingredient: IngredientThe ingredient
ingredients: Vec<Ingredient>Acceptable ingredients
result: StringThe id of the result item
experience: f64The output of experience
cooking_time: Option<i32>Trait Implementations§
source§impl Debug for BlastFurnaceRecipe
impl Debug for BlastFurnaceRecipe
source§impl PartialEq for BlastFurnaceRecipe
impl PartialEq for BlastFurnaceRecipe
source§fn eq(&self, other: &BlastFurnaceRecipe) -> bool
fn eq(&self, other: &BlastFurnaceRecipe) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BlastFurnaceRecipe
Auto Trait Implementations§
impl Freeze for BlastFurnaceRecipe
impl RefUnwindSafe for BlastFurnaceRecipe
impl Send for BlastFurnaceRecipe
impl Sync for BlastFurnaceRecipe
impl Unpin for BlastFurnaceRecipe
impl UnwindSafe for BlastFurnaceRecipe
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