pub enum EmitterMode {
Points,
Outline,
Surface,
Volume,
}Expand description
Mode determining where on the shape particles spawn.
Variants§
Points
Particles spawn at discrete points on the shape.
Outline
Particles spawn on the outline/edge of the shape.
Surface
Particles spawn on the surface of the shape.
Volume
Particles spawn throughout the volume of the shape.
Trait Implementations§
Source§impl Clone for EmitterMode
impl Clone for EmitterMode
Source§fn clone(&self) -> EmitterMode
fn clone(&self) -> EmitterMode
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 EmitterMode
impl Debug for EmitterMode
Source§impl Default for EmitterMode
impl Default for EmitterMode
Source§fn default() -> EmitterMode
fn default() -> EmitterMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for EmitterMode
impl PartialEq for EmitterMode
impl Copy for EmitterMode
impl Eq for EmitterMode
impl StructuralPartialEq for EmitterMode
Auto Trait Implementations§
impl Freeze for EmitterMode
impl RefUnwindSafe for EmitterMode
impl Send for EmitterMode
impl Sync for EmitterMode
impl Unpin for EmitterMode
impl UnwindSafe for EmitterMode
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