Struct ItemExpireEvent
pub struct ItemExpireEvent<'a> {
pub entity: u32,
pub stack: &'a ItemStack,
pub extra_life: i32,
}Expand description
What Hooks::item_expire is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§entity: u32§stack: &'a ItemStack§extra_life: i32Auto Trait Implementations§
impl<'a> Freeze for ItemExpireEvent<'a>
impl<'a> RefUnwindSafe for ItemExpireEvent<'a>
impl<'a> Send for ItemExpireEvent<'a>
impl<'a> Sync for ItemExpireEvent<'a>
impl<'a> Unpin for ItemExpireEvent<'a>
impl<'a> UnsafeUnpin for ItemExpireEvent<'a>
impl<'a> UnwindSafe for ItemExpireEvent<'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