pub struct LuaBootstrapRaiseScriptTeleportedParams {
pub entity: LuaEntity,
pub old_position: MapPosition,
pub old_surface_index: u8,
}Fields§
§entity: LuaEntityThe entity that was teleported.
old_position: MapPositionThe entity’s position before the teleportation.
old_surface_index: u8The entity’s surface before the teleportation.
Trait Implementations§
Source§impl Clone for LuaBootstrapRaiseScriptTeleportedParams
impl Clone for LuaBootstrapRaiseScriptTeleportedParams
Source§fn clone(&self) -> LuaBootstrapRaiseScriptTeleportedParams
fn clone(&self) -> LuaBootstrapRaiseScriptTeleportedParams
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 LuaBootstrapRaiseScriptTeleportedParams
impl Default for LuaBootstrapRaiseScriptTeleportedParams
Source§fn default() -> LuaBootstrapRaiseScriptTeleportedParams
fn default() -> LuaBootstrapRaiseScriptTeleportedParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaBootstrapRaiseScriptTeleportedParams
impl RefUnwindSafe for LuaBootstrapRaiseScriptTeleportedParams
impl Send for LuaBootstrapRaiseScriptTeleportedParams
impl Sync for LuaBootstrapRaiseScriptTeleportedParams
impl Unpin for LuaBootstrapRaiseScriptTeleportedParams
impl UnsafeUnpin for LuaBootstrapRaiseScriptTeleportedParams
impl UnwindSafe for LuaBootstrapRaiseScriptTeleportedParams
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