pub struct OnSpacePlatformBuiltEntityEvent {
pub entity: LuaEntity,
pub name: &'static str,
pub platform: LuaSpacePlatform,
pub stack: LuaItemStack,
pub tags: LuaAny,
pub tick: u32,
}Expand description
Called when a space platform builds an entity.
Fields§
§entity: LuaEntity§name: &'static str§platform: LuaSpacePlatform§stack: LuaItemStack§tick: u32Trait Implementations§
Source§impl Clone for OnSpacePlatformBuiltEntityEvent
impl Clone for OnSpacePlatformBuiltEntityEvent
Source§fn clone(&self) -> OnSpacePlatformBuiltEntityEvent
fn clone(&self) -> OnSpacePlatformBuiltEntityEvent
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 moreimpl Copy for OnSpacePlatformBuiltEntityEvent
Source§impl Default for OnSpacePlatformBuiltEntityEvent
impl Default for OnSpacePlatformBuiltEntityEvent
Source§fn default() -> OnSpacePlatformBuiltEntityEvent
fn default() -> OnSpacePlatformBuiltEntityEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnSpacePlatformBuiltEntityEvent
Auto Trait Implementations§
impl Freeze for OnSpacePlatformBuiltEntityEvent
impl RefUnwindSafe for OnSpacePlatformBuiltEntityEvent
impl Send for OnSpacePlatformBuiltEntityEvent
impl Sync for OnSpacePlatformBuiltEntityEvent
impl Unpin for OnSpacePlatformBuiltEntityEvent
impl UnsafeUnpin for OnSpacePlatformBuiltEntityEvent
impl UnwindSafe for OnSpacePlatformBuiltEntityEvent
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