pub struct FireworkExplosion {
pub shape: FireworkShape,
pub colors: &'static [i32],
pub fade_colors: &'static [i32],
pub has_trail: bool,
pub has_twinkle: bool,
}Expand description
A firework explosion definition.
Fields§
§shape: FireworkShape§colors: &'static [i32]§fade_colors: &'static [i32]§has_trail: bool§has_twinkle: boolTrait Implementations§
Source§impl Clone for FireworkExplosion
impl Clone for FireworkExplosion
Source§fn clone(&self) -> FireworkExplosion
fn clone(&self) -> FireworkExplosion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FireworkExplosion
impl RefUnwindSafe for FireworkExplosion
impl Send for FireworkExplosion
impl Sync for FireworkExplosion
impl Unpin for FireworkExplosion
impl UnsafeUnpin for FireworkExplosion
impl UnwindSafe for FireworkExplosion
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