pub struct OnSpacePlatformBuiltTileEvent {
pub inventory: LuaInventory,
pub item: LuaItemPrototype,
pub name: &'static str,
pub platform: LuaSpacePlatform,
pub quality: LuaQualityPrototype,
pub surface_index: u32,
pub tick: u32,
pub tile: LuaTilePrototype,
pub tiles: &'static [LuaAny],
}Expand description
Called after a space platform builds tiles.
Fields§
§inventory: LuaInventory§item: LuaItemPrototype§name: &'static str§platform: LuaSpacePlatform§quality: LuaQualityPrototype§surface_index: u32§tick: u32§tile: LuaTilePrototype§tiles: &'static [LuaAny]Trait Implementations§
Source§impl Clone for OnSpacePlatformBuiltTileEvent
impl Clone for OnSpacePlatformBuiltTileEvent
Source§fn clone(&self) -> OnSpacePlatformBuiltTileEvent
fn clone(&self) -> OnSpacePlatformBuiltTileEvent
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 OnSpacePlatformBuiltTileEvent
Source§impl Default for OnSpacePlatformBuiltTileEvent
impl Default for OnSpacePlatformBuiltTileEvent
Source§fn default() -> OnSpacePlatformBuiltTileEvent
fn default() -> OnSpacePlatformBuiltTileEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnSpacePlatformBuiltTileEvent
Auto Trait Implementations§
impl Freeze for OnSpacePlatformBuiltTileEvent
impl RefUnwindSafe for OnSpacePlatformBuiltTileEvent
impl Send for OnSpacePlatformBuiltTileEvent
impl Sync for OnSpacePlatformBuiltTileEvent
impl Unpin for OnSpacePlatformBuiltTileEvent
impl UnsafeUnpin for OnSpacePlatformBuiltTileEvent
impl UnwindSafe for OnSpacePlatformBuiltTileEvent
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