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