Enum EntityTarget
pub enum EntityTarget {
Existing(Entity),
Spawn(SpawnToken),
}Expand description
Existing world-local identity or an earlier spawn in this buffer epoch.
Variants§
Existing(Entity)
Spawn(SpawnToken)
Trait Implementations§
§impl Clone for EntityTarget
impl Clone for EntityTarget
§fn clone(&self) -> EntityTarget
fn clone(&self) -> EntityTarget
Returns a duplicate 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 more§impl Debug for EntityTarget
impl Debug for EntityTarget
§impl From<&SpawnToken> for EntityTarget
impl From<&SpawnToken> for EntityTarget
§fn from(token: &SpawnToken) -> EntityTarget
fn from(token: &SpawnToken) -> EntityTarget
Converts to this type from the input type.
§impl From<Entity> for EntityTarget
impl From<Entity> for EntityTarget
§fn from(entity: Entity) -> EntityTarget
fn from(entity: Entity) -> EntityTarget
Converts to this type from the input type.
§impl From<SpawnToken> for EntityTarget
impl From<SpawnToken> for EntityTarget
§fn from(token: SpawnToken) -> EntityTarget
fn from(token: SpawnToken) -> EntityTarget
Converts to this type from the input type.
§impl PartialEq for EntityTarget
impl PartialEq for EntityTarget
impl Eq for EntityTarget
impl StructuralPartialEq for EntityTarget
Auto Trait Implementations§
impl Freeze for EntityTarget
impl RefUnwindSafe for EntityTarget
impl !Send for EntityTarget
impl !Sync for EntityTarget
impl Unpin for EntityTarget
impl UnwindSafe for EntityTarget
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