Struct SpawnToken
pub struct SpawnToken { /* private fields */ }Expand description
An opaque reference to one accepted spawn. Clone retains identity, not a spawn. No serializable/raw constructor is supplied; this is not a world entity.
Trait Implementations§
§impl Clone for SpawnToken
impl Clone for SpawnToken
§fn clone(&self) -> SpawnToken
fn clone(&self) -> SpawnToken
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 SpawnToken
impl Debug for SpawnToken
§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<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 SpawnToken
impl PartialEq for SpawnToken
impl Eq for SpawnToken
Auto Trait Implementations§
impl Freeze for SpawnToken
impl RefUnwindSafe for SpawnToken
impl !Send for SpawnToken
impl !Sync for SpawnToken
impl Unpin for SpawnToken
impl UnwindSafe for SpawnToken
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