pub struct LuaSurfaceExecuteLightningParams {
pub name: LuaAny,
pub position: MapPosition,
}Expand description
Creates lightning. If other entities which can be lightning targets are nearby, the final position will be adjusted.
Fields§
§name: LuaAny§position: MapPositionTrait Implementations§
Source§impl Clone for LuaSurfaceExecuteLightningParams
impl Clone for LuaSurfaceExecuteLightningParams
Source§fn clone(&self) -> LuaSurfaceExecuteLightningParams
fn clone(&self) -> LuaSurfaceExecuteLightningParams
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 LuaSurfaceExecuteLightningParams
impl Default for LuaSurfaceExecuteLightningParams
Source§fn default() -> LuaSurfaceExecuteLightningParams
fn default() -> LuaSurfaceExecuteLightningParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaSurfaceExecuteLightningParams
impl RefUnwindSafe for LuaSurfaceExecuteLightningParams
impl Send for LuaSurfaceExecuteLightningParams
impl Sync for LuaSurfaceExecuteLightningParams
impl Unpin for LuaSurfaceExecuteLightningParams
impl UnsafeUnpin for LuaSurfaceExecuteLightningParams
impl UnwindSafe for LuaSurfaceExecuteLightningParams
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