Enum naia_shared::EntityEvent
source · pub enum EntityEvent<E: Copy> {
SpawnEntity(E),
DespawnEntity(E),
InsertComponent(E, ComponentKind),
RemoveComponent(E, Box<dyn Replicate>),
UpdateComponent(Tick, E, ComponentKind),
}
Variants§
SpawnEntity(E)
DespawnEntity(E)
InsertComponent(E, ComponentKind)
RemoveComponent(E, Box<dyn Replicate>)
UpdateComponent(Tick, E, ComponentKind)
Auto Trait Implementations§
impl<E> !RefUnwindSafe for EntityEvent<E>
impl<E> Send for EntityEvent<E>where
E: Send,
impl<E> Sync for EntityEvent<E>where
E: Sync,
impl<E> Unpin for EntityEvent<E>where
E: Unpin,
impl<E> !UnwindSafe for EntityEvent<E>
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