pub enum LifeState {
Alive,
Declining,
Dying,
Dead,
}
Expand description
The struct represents the states in a Particle
’s lifetime
Every Particle
goes from Alive
-> Declining
-> Dying
-> Dead
Variants§
Trait Implementations§
impl Copy for LifeState
impl StructuralPartialEq for LifeState
Auto Trait Implementations§
impl Freeze for LifeState
impl RefUnwindSafe for LifeState
impl Send for LifeState
impl Sync for LifeState
impl Unpin for LifeState
impl UnwindSafe for LifeState
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