pub struct InsertComponentEvent<C: Replicate> { /* private fields */ }Expand description
Fires when component C is inserted on a replicated entity; yields the world entity E.
Trait Implementations§
Source§impl<E: Hash + Copy + Eq + Sync + Send, C: Replicate> WorldEvent<E> for InsertComponentEvent<C>
impl<E: Hash + Copy + Eq + Sync + Send, C: Replicate> WorldEvent<E> for InsertComponentEvent<C>
Auto Trait Implementations§
impl<C> Freeze for InsertComponentEvent<C>
impl<C> RefUnwindSafe for InsertComponentEvent<C>where
C: RefUnwindSafe,
impl<C> Send for InsertComponentEvent<C>
impl<C> Sync for InsertComponentEvent<C>
impl<C> Unpin for InsertComponentEvent<C>where
C: Unpin,
impl<C> UnsafeUnpin for InsertComponentEvent<C>
impl<C> UnwindSafe for InsertComponentEvent<C>where
C: UnwindSafe,
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