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