pub struct OnEntitySpawned;Expand description
Called when an entity is spawned by a EnemySpawner
Implementations§
Trait Implementations§
Source§impl Clone for OnEntitySpawned
impl Clone for OnEntitySpawned
Source§fn clone(&self) -> OnEntitySpawned
fn clone(&self) -> OnEntitySpawned
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 OnEntitySpawned
Source§impl Debug for OnEntitySpawned
impl Debug for OnEntitySpawned
impl Eq for OnEntitySpawned
Source§impl PartialEq for OnEntitySpawned
impl PartialEq for OnEntitySpawned
impl StructuralPartialEq for OnEntitySpawned
Auto Trait Implementations§
impl Freeze for OnEntitySpawned
impl RefUnwindSafe for OnEntitySpawned
impl Send for OnEntitySpawned
impl Sync for OnEntitySpawned
impl Unpin for OnEntitySpawned
impl UnsafeUnpin for OnEntitySpawned
impl UnwindSafe for OnEntitySpawned
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