pub struct ParticleDesc {
pub position: [f32; 3],
pub velocity: [f32; 3],
pub acceleration: [f32; 3],
pub lifetime: f32,
pub start_color: [f32; 4],
pub end_color: [f32; 4],
pub start_size: f32,
pub end_size: f32,
}Fields§
§position: [f32; 3]§velocity: [f32; 3]§acceleration: [f32; 3]§lifetime: f32§start_color: [f32; 4]§end_color: [f32; 4]§start_size: f32§end_size: f32Trait Implementations§
Source§impl Clone for ParticleDesc
impl Clone for ParticleDesc
Source§fn clone(&self) -> ParticleDesc
fn clone(&self) -> ParticleDesc
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 ParticleDesc
impl Debug for ParticleDesc
Source§impl Default for ParticleDesc
impl Default for ParticleDesc
Source§fn default() -> ParticleDesc
fn default() -> ParticleDesc
Returns the “default value” for a type. Read more
Source§impl PartialEq for ParticleDesc
impl PartialEq for ParticleDesc
impl Copy for ParticleDesc
impl StructuralPartialEq for ParticleDesc
Auto Trait Implementations§
impl Freeze for ParticleDesc
impl RefUnwindSafe for ParticleDesc
impl Send for ParticleDesc
impl Sync for ParticleDesc
impl Unpin for ParticleDesc
impl UnwindSafe for ParticleDesc
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