pub struct LuaEntityCreateCargoPodParams {
pub cargo_hatch: LuaCargoHatch,
pub cargo_pod_prototype: LuaAny,
}Expand description
Creates a cargo pod if possible.
Cargo pod will be created with invalid destination type. Setting cargo_pod_destination will cause it to launch.
Fields§
§cargo_hatch: LuaCargoHatchThe hatch to create the pod at. A random (available) one is picked if not provided.
cargo_pod_prototype: LuaAnyThe cargo pod prototype to create. If not provided, the default cargo pod prototype of the hatch is used.
Trait Implementations§
Source§impl Clone for LuaEntityCreateCargoPodParams
impl Clone for LuaEntityCreateCargoPodParams
Source§fn clone(&self) -> LuaEntityCreateCargoPodParams
fn clone(&self) -> LuaEntityCreateCargoPodParams
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 LuaEntityCreateCargoPodParams
impl Default for LuaEntityCreateCargoPodParams
Source§fn default() -> LuaEntityCreateCargoPodParams
fn default() -> LuaEntityCreateCargoPodParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaEntityCreateCargoPodParams
impl RefUnwindSafe for LuaEntityCreateCargoPodParams
impl Send for LuaEntityCreateCargoPodParams
impl Sync for LuaEntityCreateCargoPodParams
impl Unpin for LuaEntityCreateCargoPodParams
impl UnsafeUnpin for LuaEntityCreateCargoPodParams
impl UnwindSafe for LuaEntityCreateCargoPodParams
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