pub struct OnSegmentedUnitDamaged;Expand description
Called when a segmented unit is damaged. This is not called when a segmented unit’s health is set directly by another mod.
Implementations§
Trait Implementations§
Source§impl Clone for OnSegmentedUnitDamaged
impl Clone for OnSegmentedUnitDamaged
Source§fn clone(&self) -> OnSegmentedUnitDamaged
fn clone(&self) -> OnSegmentedUnitDamaged
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OnSegmentedUnitDamaged
Source§impl Debug for OnSegmentedUnitDamaged
impl Debug for OnSegmentedUnitDamaged
impl Eq for OnSegmentedUnitDamaged
Source§impl PartialEq for OnSegmentedUnitDamaged
impl PartialEq for OnSegmentedUnitDamaged
impl StructuralPartialEq for OnSegmentedUnitDamaged
Auto Trait Implementations§
impl Freeze for OnSegmentedUnitDamaged
impl RefUnwindSafe for OnSegmentedUnitDamaged
impl Send for OnSegmentedUnitDamaged
impl Sync for OnSegmentedUnitDamaged
impl Unpin for OnSegmentedUnitDamaged
impl UnsafeUnpin for OnSegmentedUnitDamaged
impl UnwindSafe for OnSegmentedUnitDamaged
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