pub struct ParticleSystemStats {
pub total_alive: usize,
pub total_spawned: u64,
pub total_expired: u64,
pub total_dropped: u64,
pub emitter_count: usize,
}Expand description
System-wide particle statistics.
Fields§
§total_alive: usize§total_spawned: u64§total_expired: u64§total_dropped: u64§emitter_count: usizeImplementations§
Source§impl ParticleSystemStats
impl ParticleSystemStats
pub fn from_pool(pool: &ParticlePool) -> Self
Trait Implementations§
Source§impl Clone for ParticleSystemStats
impl Clone for ParticleSystemStats
Source§fn clone(&self) -> ParticleSystemStats
fn clone(&self) -> ParticleSystemStats
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 ParticleSystemStats
impl Debug for ParticleSystemStats
Source§impl Default for ParticleSystemStats
impl Default for ParticleSystemStats
Source§fn default() -> ParticleSystemStats
fn default() -> ParticleSystemStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParticleSystemStats
impl RefUnwindSafe for ParticleSystemStats
impl Send for ParticleSystemStats
impl Sync for ParticleSystemStats
impl Unpin for ParticleSystemStats
impl UnsafeUnpin for ParticleSystemStats
impl UnwindSafe for ParticleSystemStats
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