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