pub enum ParticleEffect {
ConstantRotation {
angle: f32,
},
LinearMovement {
velocity_x: f32,
velocity_y: f32,
},
LinearRotation {
angular_velocity: f32,
},
FadeOut {
delay: Duration,
},
}
Variants§
Trait Implementations§
Source§impl Clone for ParticleEffect
impl Clone for ParticleEffect
Source§fn clone(&self) -> ParticleEffect
fn clone(&self) -> ParticleEffect
Returns a copy 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 moreimpl Copy for ParticleEffect
Auto Trait Implementations§
impl Freeze for ParticleEffect
impl RefUnwindSafe for ParticleEffect
impl Send for ParticleEffect
impl Sync for ParticleEffect
impl Unpin for ParticleEffect
impl UnwindSafe for ParticleEffect
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