pub struct LuaSurfaceCreateParticleParams {
pub frame_speed: f32,
pub height: f32,
pub movement: Vector,
pub name: LuaAny,
pub position: MapPosition,
pub vertical_speed: f32,
}Expand description
Creates a particle at the given location
Fields§
§frame_speed: f32§height: f32§movement: Vector§name: LuaAnyThe particle name.
position: MapPositionWhere to create the particle.
vertical_speed: f32Trait Implementations§
Source§impl Clone for LuaSurfaceCreateParticleParams
impl Clone for LuaSurfaceCreateParticleParams
Source§fn clone(&self) -> LuaSurfaceCreateParticleParams
fn clone(&self) -> LuaSurfaceCreateParticleParams
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 moreSource§impl Default for LuaSurfaceCreateParticleParams
impl Default for LuaSurfaceCreateParticleParams
Source§fn default() -> LuaSurfaceCreateParticleParams
fn default() -> LuaSurfaceCreateParticleParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaSurfaceCreateParticleParams
impl RefUnwindSafe for LuaSurfaceCreateParticleParams
impl Send for LuaSurfaceCreateParticleParams
impl Sync for LuaSurfaceCreateParticleParams
impl Unpin for LuaSurfaceCreateParticleParams
impl UnsafeUnpin for LuaSurfaceCreateParticleParams
impl UnwindSafe for LuaSurfaceCreateParticleParams
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