Struct MobEffectApplicableEvent
pub struct MobEffectApplicableEvent {
pub entity: LivingRef,
pub effect: EffectKey,
}Expand description
What Hooks::mob_effect_applicable is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§entity: LivingRef§effect: EffectKeyTrait Implementations§
Auto Trait Implementations§
impl Freeze for MobEffectApplicableEvent
impl RefUnwindSafe for MobEffectApplicableEvent
impl Send for MobEffectApplicableEvent
impl Sync for MobEffectApplicableEvent
impl Unpin for MobEffectApplicableEvent
impl UnsafeUnpin for MobEffectApplicableEvent
impl UnwindSafe for MobEffectApplicableEvent
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