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