pub struct SpawnEntityCommand {
pub id: EntityId,
pub position: Vec3,
pub name: String,
pub executed: bool,
}Expand description
Spawn an entity at a given position.
Fields§
§id: EntityId§position: Vec3§name: String§executed: boolTrait Implementations§
Source§impl Debug for SpawnEntityCommand
impl Debug for SpawnEntityCommand
Source§impl EditorCommand for SpawnEntityCommand
impl EditorCommand for SpawnEntityCommand
Auto Trait Implementations§
impl Freeze for SpawnEntityCommand
impl RefUnwindSafe for SpawnEntityCommand
impl Send for SpawnEntityCommand
impl Sync for SpawnEntityCommand
impl Unpin for SpawnEntityCommand
impl UnsafeUnpin for SpawnEntityCommand
impl UnwindSafe for SpawnEntityCommand
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