pub struct ParticleSystem {
pub position: [f32; 3],
pub color: [f32; 3],
pub count: u32,
pub lifetime: f32,
pub speed: f32,
pub spread: f32,
}Fields§
§position: [f32; 3]§color: [f32; 3]§count: u32§lifetime: f32§speed: f32§spread: f32Trait Implementations§
Source§impl Clone for ParticleSystem
impl Clone for ParticleSystem
Source§impl Debug for ParticleSystem
impl Debug for ParticleSystem
Source§impl<'de> Deserialize<'de> for ParticleSystem
impl<'de> Deserialize<'de> for ParticleSystem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ParticleSystem
impl RefUnwindSafe for ParticleSystem
impl Send for ParticleSystem
impl Sync for ParticleSystem
impl Unpin for ParticleSystem
impl UnsafeUnpin for ParticleSystem
impl UnwindSafe for ParticleSystem
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