#[repr(C)]pub struct GpuParticleSpawnConfig {
pub emission_rate: f32,
pub lifetime_min: f32,
pub lifetime_max: f32,
pub speed_min: f32,
pub speed_max: f32,
pub _pad: [f32; 3],
}Expand description
Particle spawn configuration for GPU upload (32 bytes).
Fields§
§emission_rate: f32§lifetime_min: f32§lifetime_max: f32§speed_min: f32§speed_max: f32§_pad: [f32; 3]Trait Implementations§
Source§impl Clone for GpuParticleSpawnConfig
impl Clone for GpuParticleSpawnConfig
Source§fn clone(&self) -> GpuParticleSpawnConfig
fn clone(&self) -> GpuParticleSpawnConfig
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 moreSource§impl Debug for GpuParticleSpawnConfig
impl Debug for GpuParticleSpawnConfig
Source§impl PartialEq for GpuParticleSpawnConfig
impl PartialEq for GpuParticleSpawnConfig
impl Copy for GpuParticleSpawnConfig
impl StructuralPartialEq for GpuParticleSpawnConfig
Auto Trait Implementations§
impl Freeze for GpuParticleSpawnConfig
impl RefUnwindSafe for GpuParticleSpawnConfig
impl Send for GpuParticleSpawnConfig
impl Sync for GpuParticleSpawnConfig
impl Unpin for GpuParticleSpawnConfig
impl UnsafeUnpin for GpuParticleSpawnConfig
impl UnwindSafe for GpuParticleSpawnConfig
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