Enum naia_shared::EntityAction
source · [−]pub enum EntityAction<E: Copy, K: ProtocolKindType> {
SpawnEntity(E, Vec<K>),
DespawnEntity(E),
InsertComponent(E, K),
RemoveComponent(E, K),
Noop,
}
Variants
SpawnEntity(E, Vec<K>)
DespawnEntity(E)
InsertComponent(E, K)
RemoveComponent(E, K)
Noop
Implementations
sourceimpl<E: Copy, K: ProtocolKindType> EntityAction<E, K>
impl<E: Copy, K: ProtocolKindType> EntityAction<E, K>
Auto Trait Implementations
impl<E, K> RefUnwindSafe for EntityAction<E, K> where
E: RefUnwindSafe,
K: RefUnwindSafe,
impl<E, K> Send for EntityAction<E, K> where
E: Send,
impl<E, K> Sync for EntityAction<E, K> where
E: Sync,
impl<E, K> Unpin for EntityAction<E, K> where
E: Unpin,
K: Unpin,
impl<E, K> UnwindSafe for EntityAction<E, K> where
E: UnwindSafe,
K: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more