pub struct Item {
pub count: u8,
pub slot: u8,
pub id: String,
pub tag: Option<NbtValue>,
}Expand description
A structure for chest item data
Fields§
§count: u8The amount of the items
slot: u8The slot that the item is in
id: StringThe id of the Item/Block
tag: Option<NbtValue>Aditional data
Trait Implementations§
source§impl PartialEq for Item
impl PartialEq for Item
impl StructuralPartialEq for Item
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnwindSafe for Item
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