pub enum ExplosionForm {
Instant {
used: bool,
},
Sustained {
lasts: Duration,
time_interval: Duration,
timer: Duration,
},
}
Expand description
Enum that represents whether the Firework
make one instantaneous explosion or continuously emit particles
Variants§
Trait Implementations§
Source§impl Debug for ExplosionForm
impl Debug for ExplosionForm
Source§impl PartialEq for ExplosionForm
impl PartialEq for ExplosionForm
impl Eq for ExplosionForm
impl StructuralPartialEq for ExplosionForm
Auto Trait Implementations§
impl Freeze for ExplosionForm
impl RefUnwindSafe for ExplosionForm
impl Send for ExplosionForm
impl Sync for ExplosionForm
impl Unpin for ExplosionForm
impl UnwindSafe for ExplosionForm
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