pub enum ParticleShape {
Rectangle {
aspect_ratio: f32,
},
Circle {
subdivisions: u32,
},
CustomMesh {
vertices: Vec<f32>,
indices: Vec<u16>,
},
}
Variants§
Trait Implementations§
source§impl Clone for ParticleShape
impl Clone for ParticleShape
source§fn clone(&self) -> ParticleShape
fn clone(&self) -> ParticleShape
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 moresource§impl Debug for ParticleShape
impl Debug for ParticleShape
source§impl PartialEq for ParticleShape
impl PartialEq for ParticleShape
source§fn eq(&self, other: &ParticleShape) -> bool
fn eq(&self, other: &ParticleShape) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ParticleShape
Auto Trait Implementations§
impl RefUnwindSafe for ParticleShape
impl Send for ParticleShape
impl Sync for ParticleShape
impl Unpin for ParticleShape
impl UnwindSafe for ParticleShape
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