#[repr(C)]pub struct Spawn<SpawnType> {
pub enemy_type: SpawnType,
pub delay: f32,
pub _u1: u32,
pub _u2: u32,
pub _u3: u32,
pub _u4: u32,
pub _u5: u32,
}Fields§
§enemy_type: SpawnType§delay: f32§_u1: u32§_u2: u32§_u3: u32§_u4: u32§_u5: u32Trait Implementations§
impl<SpawnType: Copy> Copy for Spawn<SpawnType>
Auto Trait Implementations§
impl<SpawnType> Freeze for Spawn<SpawnType>where
SpawnType: Freeze,
impl<SpawnType> RefUnwindSafe for Spawn<SpawnType>where
SpawnType: RefUnwindSafe,
impl<SpawnType> Send for Spawn<SpawnType>where
SpawnType: Send,
impl<SpawnType> Sync for Spawn<SpawnType>where
SpawnType: Sync,
impl<SpawnType> Unpin for Spawn<SpawnType>where
SpawnType: Unpin,
impl<SpawnType> UnwindSafe for Spawn<SpawnType>where
SpawnType: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more