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
impl StructuralPartialEq for ParticleShape
Auto Trait Implementations§
impl Freeze for ParticleShape
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