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