pub struct LuaRecordCreateBlueprintParams {
pub always_include_tiles: bool,
pub area: BoundingBox,
pub force: LuaAny,
pub include_entities: bool,
pub include_fuel: bool,
pub include_modules: bool,
pub include_station_names: bool,
pub include_trains: bool,
pub surface: LuaAny,
}Expand description
Sets up this blueprint using the found blueprintable entities/tiles on the surface.
Fields§
§always_include_tiles: boolWhen true, blueprintable tiles are always included in the blueprint. When false they’re only included if no entities exist in the setup area. Defaults to false.
area: BoundingBoxThe bounding box
force: LuaAnyForce to use for the creation
include_entities: boolWhen true, entities are included in the blueprint. Defaults to true.
include_fuel: boolWhen true, train fuel is included in the blueprint, Defaults to true.
include_modules: boolWhen true, modules are included in the blueprint. Defaults to true.
include_station_names: boolWhen true, station names are included in the blueprint. Defaults to false.
include_trains: boolWhen true, trains are included in the blueprint. Defaults to false.
surface: LuaAnySurface to create from
Trait Implementations§
Source§impl Clone for LuaRecordCreateBlueprintParams
impl Clone for LuaRecordCreateBlueprintParams
Source§fn clone(&self) -> LuaRecordCreateBlueprintParams
fn clone(&self) -> LuaRecordCreateBlueprintParams
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 LuaRecordCreateBlueprintParams
impl Default for LuaRecordCreateBlueprintParams
Source§fn default() -> LuaRecordCreateBlueprintParams
fn default() -> LuaRecordCreateBlueprintParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaRecordCreateBlueprintParams
impl RefUnwindSafe for LuaRecordCreateBlueprintParams
impl Send for LuaRecordCreateBlueprintParams
impl Sync for LuaRecordCreateBlueprintParams
impl Unpin for LuaRecordCreateBlueprintParams
impl UnsafeUnpin for LuaRecordCreateBlueprintParams
impl UnwindSafe for LuaRecordCreateBlueprintParams
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