Struct InventoryTickEvent
pub struct InventoryTickEvent<'a> {
pub stack: &'a ItemStack,
pub slot: i32,
pub selected: bool,
}Expand description
What ItemPart::inventory_tick is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§stack: &'a ItemStack§slot: i32§selected: boolAuto Trait Implementations§
impl<'a> Freeze for InventoryTickEvent<'a>
impl<'a> RefUnwindSafe for InventoryTickEvent<'a>
impl<'a> Send for InventoryTickEvent<'a>
impl<'a> Sync for InventoryTickEvent<'a>
impl<'a> Unpin for InventoryTickEvent<'a>
impl<'a> UnsafeUnpin for InventoryTickEvent<'a>
impl<'a> UnwindSafe for InventoryTickEvent<'a>
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