pub struct SpawnEvent {
pub blueprint: String,
pub position: Vec3,
pub tag: Option<String>,
pub wave_name: String,
}Expand description
Emitted by the spawn system for the game to process.
Fields§
§blueprint: String§position: Vec3§tag: Option<String>§wave_name: StringTrait Implementations§
Source§impl Clone for SpawnEvent
impl Clone for SpawnEvent
Source§fn clone(&self) -> SpawnEvent
fn clone(&self) -> SpawnEvent
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 moreAuto Trait Implementations§
impl Freeze for SpawnEvent
impl RefUnwindSafe for SpawnEvent
impl Send for SpawnEvent
impl Sync for SpawnEvent
impl Unpin for SpawnEvent
impl UnsafeUnpin for SpawnEvent
impl UnwindSafe for SpawnEvent
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