Struct LivingDamagePostEvent
pub struct LivingDamagePostEvent<'a> {
pub entity: i32,
pub kind: &'a str,
pub source: &'a HurtSource<'a>,
pub container: &'a DamageContainer,
}Expand description
What Hooks::living_damage_post is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§entity: i32§kind: &'a str§source: &'a HurtSource<'a>§container: &'a DamageContainerAuto Trait Implementations§
impl<'a> Freeze for LivingDamagePostEvent<'a>
impl<'a> RefUnwindSafe for LivingDamagePostEvent<'a>
impl<'a> Send for LivingDamagePostEvent<'a>
impl<'a> Sync for LivingDamagePostEvent<'a>
impl<'a> Unpin for LivingDamagePostEvent<'a>
impl<'a> UnsafeUnpin for LivingDamagePostEvent<'a>
impl<'a> UnwindSafe for LivingDamagePostEvent<'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