Struct veloren_common::event::EntityAttackedHookEvent
source · pub struct EntityAttackedHookEvent {
pub entity: Entity,
pub attacker: Option<Entity>,
}
Fields§
§entity: Entity
§attacker: Option<Entity>
Auto Trait Implementations§
impl RefUnwindSafe for EntityAttackedHookEvent
impl Send for EntityAttackedHookEvent
impl Sync for EntityAttackedHookEvent
impl Unpin for EntityAttackedHookEvent
impl UnwindSafe for EntityAttackedHookEvent
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