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