Enum naia_shared::EntityActionType
source · pub enum EntityActionType {
SpawnEntity,
DespawnEntity,
InsertComponent,
RemoveComponent,
Noop,
}
Variants§
Trait Implementations§
source§impl Clone for EntityActionType
impl Clone for EntityActionType
source§fn clone(&self) -> EntityActionType
fn clone(&self) -> EntityActionType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for EntityActionType
impl PartialEq for EntityActionType
source§fn eq(&self, other: &EntityActionType) -> bool
fn eq(&self, other: &EntityActionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serde for EntityActionType
impl Serde for EntityActionType
impl Copy for EntityActionType
impl StructuralPartialEq for EntityActionType
Auto Trait Implementations§
impl RefUnwindSafe for EntityActionType
impl Send for EntityActionType
impl Sync for EntityActionType
impl Unpin for EntityActionType
impl UnwindSafe for EntityActionType
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