pub struct ParticleStyle {
pub draw: EffectStyle,
pub shape: ParticleShape,
pub stretch: f32,
pub max_stretch: f32,
pub sort_back_to_front: bool,
}Fields§
§draw: EffectStyle§shape: ParticleShape§stretch: f32Stretch along projected velocity; zero keeps authored rotation/size.
max_stretch: f32§sort_back_to_front: boolTrait Implementations§
Source§impl Clone for ParticleStyle
impl Clone for ParticleStyle
Source§fn clone(&self) -> ParticleStyle
fn clone(&self) -> ParticleStyle
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 ParticleStyle
impl Debug for ParticleStyle
Source§impl Default for ParticleStyle
impl Default for ParticleStyle
Source§fn default() -> ParticleStyle
fn default() -> ParticleStyle
Returns the “default value” for a type. Read more
Source§impl PartialEq for ParticleStyle
impl PartialEq for ParticleStyle
impl Copy for ParticleStyle
impl StructuralPartialEq for ParticleStyle
Auto Trait Implementations§
impl Freeze for ParticleStyle
impl RefUnwindSafe for ParticleStyle
impl Send for ParticleStyle
impl Sync for ParticleStyle
impl Unpin for ParticleStyle
impl UnwindSafe for ParticleStyle
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