pub struct ItemSlot {
pub id: String,
pub extra: NbtCompound,
pub count: i8,
pub slot: i8,
}
Expand description
An item slot in a container
Fields§
§id: String
§extra: NbtCompound
§count: i8
§slot: i8
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ItemSlot
impl RefUnwindSafe for ItemSlot
impl Send for ItemSlot
impl Sync for ItemSlot
impl Unpin for ItemSlot
impl UnwindSafe for ItemSlot
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