pub struct AuraEventRef {
pub key: AuraKey,
pub target: Option<EnemyIdx>,
}Expand description
Aura identity and optional enemy target delivered to aura lifecycle handlers.
Fields§
§key: AuraKey§target: Option<EnemyIdx>Trait Implementations§
Source§impl Clone for AuraEventRef
impl Clone for AuraEventRef
Source§fn clone(&self) -> AuraEventRef
fn clone(&self) -> AuraEventRef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuraEventRef
impl Debug for AuraEventRef
Source§impl PartialEq for AuraEventRef
impl PartialEq for AuraEventRef
impl Copy for AuraEventRef
impl Eq for AuraEventRef
impl StructuralPartialEq for AuraEventRef
Auto Trait Implementations§
impl Freeze for AuraEventRef
impl RefUnwindSafe for AuraEventRef
impl Send for AuraEventRef
impl Sync for AuraEventRef
impl Unpin for AuraEventRef
impl UnsafeUnpin for AuraEventRef
impl UnwindSafe for AuraEventRef
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