pub struct SpawnedEntity {
pub entity: Entity,
pub name: &'static str,
pub scope: Entity,
}Available on crate feature
mcp and non-WebAssembly only.Expand description
A spawned entity, as the tools report it.
Fields§
§entity: EntityThe spawned entity.
name: &'static strHow the entity is called, so a reply read by a person names it.
scope: EntityThe scope it was spawned in, so a caller can use it as one.
Trait Implementations§
Auto Trait Implementations§
impl Forget for SpawnedEntity
impl Freeze for SpawnedEntity
impl RefUnwindSafe for SpawnedEntity
impl Send for SpawnedEntity
impl Sync for SpawnedEntity
impl Unpin for SpawnedEntity
impl UnsafeUnpin for SpawnedEntity
impl UnwindSafe for SpawnedEntity
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