pub enum EmitterShape {
Point,
Line,
Rectangle,
Circle,
Cuboid,
Sphere,
}Expand description
Shape of the emitter - where particles spawn.
Variants§
Point
Particles spawn from a single point.
Line
Particles spawn along a line.
Rectangle
Particles spawn within a rectangle.
Circle
Particles spawn on/in a circle (2D sphere).
Cuboid
Particles spawn on/in a cuboid (3D box).
Sphere
Particles spawn on/in a sphere.
Trait Implementations§
Source§impl Clone for EmitterShape
impl Clone for EmitterShape
Source§fn clone(&self) -> EmitterShape
fn clone(&self) -> EmitterShape
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 EmitterShape
impl Debug for EmitterShape
Source§impl Default for EmitterShape
impl Default for EmitterShape
Source§fn default() -> EmitterShape
fn default() -> EmitterShape
Returns the “default value” for a type. Read more
Source§impl PartialEq for EmitterShape
impl PartialEq for EmitterShape
impl Copy for EmitterShape
impl Eq for EmitterShape
impl StructuralPartialEq for EmitterShape
Auto Trait Implementations§
impl Freeze for EmitterShape
impl RefUnwindSafe for EmitterShape
impl Send for EmitterShape
impl Sync for EmitterShape
impl Unpin for EmitterShape
impl UnwindSafe for EmitterShape
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