pub struct HashedItemStack {
pub item: ItemKind,
pub count: i8,
/* private fields */
}Fields§
§item: ItemKind§count: i8Implementations§
Trait Implementations§
Source§impl Clone for HashedItemStack
impl Clone for HashedItemStack
Source§fn clone(&self) -> HashedItemStack
fn clone(&self) -> HashedItemStack
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 HashedItemStack
impl Debug for HashedItemStack
Source§impl Decode<'_> for HashedItemStack
impl Decode<'_> for HashedItemStack
Source§impl Encode for HashedItemStack
impl Encode for HashedItemStack
Source§impl From<ItemStack> for HashedItemStack
impl From<ItemStack> for HashedItemStack
Source§impl PartialEq for HashedItemStack
impl PartialEq for HashedItemStack
impl StructuralPartialEq for HashedItemStack
Auto Trait Implementations§
impl Freeze for HashedItemStack
impl RefUnwindSafe for HashedItemStack
impl Send for HashedItemStack
impl Sync for HashedItemStack
impl Unpin for HashedItemStack
impl UnwindSafe for HashedItemStack
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