pub struct LuaForceCreateSpacePlatformParams {
pub name: String,
pub planet: LuaAny,
pub starter_pack: LuaAny,
}Expand description
Creates a new space platform on this force.
Fields§
§name: StringThe platform name. If not provided, a random name will be used.
planet: LuaAnyThe planet that the platform will orbit.
starter_pack: LuaAnyThe starter pack required to build the platform.
Trait Implementations§
Source§impl Clone for LuaForceCreateSpacePlatformParams
impl Clone for LuaForceCreateSpacePlatformParams
Source§fn clone(&self) -> LuaForceCreateSpacePlatformParams
fn clone(&self) -> LuaForceCreateSpacePlatformParams
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 LuaForceCreateSpacePlatformParams
impl Default for LuaForceCreateSpacePlatformParams
Source§fn default() -> LuaForceCreateSpacePlatformParams
fn default() -> LuaForceCreateSpacePlatformParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaForceCreateSpacePlatformParams
impl RefUnwindSafe for LuaForceCreateSpacePlatformParams
impl Send for LuaForceCreateSpacePlatformParams
impl Sync for LuaForceCreateSpacePlatformParams
impl Unpin for LuaForceCreateSpacePlatformParams
impl UnsafeUnpin for LuaForceCreateSpacePlatformParams
impl UnwindSafe for LuaForceCreateSpacePlatformParams
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