pub struct RecipeSmeltingSpec {
pub group: String,
pub ingredient: RecipeIngredient,
pub result: Slot,
pub experience: f32,
pub cooking_time: VarInt,
}
Fields§
§group: String
§ingredient: RecipeIngredient
§result: Slot
§experience: f32
§cooking_time: VarInt
Trait Implementations§
Source§impl Clone for RecipeSmeltingSpec
impl Clone for RecipeSmeltingSpec
Source§fn clone(&self) -> RecipeSmeltingSpec
fn clone(&self) -> RecipeSmeltingSpec
Returns a duplicate of the value. Read more
1.0.0 · 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 RecipeSmeltingSpec
impl Debug for RecipeSmeltingSpec
Source§impl Deserialize for RecipeSmeltingSpec
impl Deserialize for RecipeSmeltingSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(String, RecipeIngredient, Option<ItemStack>, f32, VarInt)> for RecipeSmeltingSpec
impl From<(String, RecipeIngredient, Option<ItemStack>, f32, VarInt)> for RecipeSmeltingSpec
Source§impl From<RecipeSmeltingSpec> for (String, RecipeIngredient, Slot, f32, VarInt)
impl From<RecipeSmeltingSpec> for (String, RecipeIngredient, Slot, f32, VarInt)
Source§fn from(other: RecipeSmeltingSpec) -> Self
fn from(other: RecipeSmeltingSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RecipeSmeltingSpec
impl PartialEq for RecipeSmeltingSpec
Source§impl Serialize for RecipeSmeltingSpec
impl Serialize for RecipeSmeltingSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for RecipeSmeltingSpec
Auto Trait Implementations§
impl Freeze for RecipeSmeltingSpec
impl RefUnwindSafe for RecipeSmeltingSpec
impl Send for RecipeSmeltingSpec
impl Sync for RecipeSmeltingSpec
impl Unpin for RecipeSmeltingSpec
impl UnwindSafe for RecipeSmeltingSpec
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