pub struct RecipeSmithingSpec {
pub base: RecipeIngredient,
pub addition: RecipeIngredient,
pub result: Slot,
}Fields§
§base: RecipeIngredient§addition: RecipeIngredient§result: SlotTrait Implementations§
Source§impl Clone for RecipeSmithingSpec
impl Clone for RecipeSmithingSpec
Source§fn clone(&self) -> RecipeSmithingSpec
fn clone(&self) -> RecipeSmithingSpec
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 RecipeSmithingSpec
impl Debug for RecipeSmithingSpec
Source§impl Deserialize for RecipeSmithingSpec
impl Deserialize for RecipeSmithingSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(RecipeIngredient, RecipeIngredient, Option<ItemStack>)> for RecipeSmithingSpec
impl From<(RecipeIngredient, RecipeIngredient, Option<ItemStack>)> for RecipeSmithingSpec
Source§fn from(other: (RecipeIngredient, RecipeIngredient, Slot)) -> Self
fn from(other: (RecipeIngredient, RecipeIngredient, Slot)) -> Self
Converts to this type from the input type.
Source§impl From<RecipeSmithingSpec> for (RecipeIngredient, RecipeIngredient, Slot)
impl From<RecipeSmithingSpec> for (RecipeIngredient, RecipeIngredient, Slot)
Source§fn from(other: RecipeSmithingSpec) -> Self
fn from(other: RecipeSmithingSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RecipeSmithingSpec
impl PartialEq for RecipeSmithingSpec
Source§impl Serialize for RecipeSmithingSpec
impl Serialize for RecipeSmithingSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for RecipeSmithingSpec
Auto Trait Implementations§
impl Freeze for RecipeSmithingSpec
impl RefUnwindSafe for RecipeSmithingSpec
impl Send for RecipeSmithingSpec
impl Sync for RecipeSmithingSpec
impl Unpin for RecipeSmithingSpec
impl UnwindSafe for RecipeSmithingSpec
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