Skip to main content

LuaAny

Struct LuaAny 

Source
pub struct LuaAny;
Expand description

Opaque placeholder for complex Factorio Lua API values.

Implementations§

Source§

impl LuaAny

Common “virtual fields” on LuaAny values.

Source

pub fn x(self) -> f64

Source

pub fn y(self) -> f64

Source

pub fn left_top(self) -> LuaAny

Source

pub fn right_bottom(self) -> LuaAny

Source

pub fn value(self) -> LuaAny

Source§

impl LuaAny

Source

pub const fn get<T: SettingValue>(&self, _key: &str) -> T

Read a typed mod setting value by name.

§Example
const CASUAL_MODE: bool = settings.startup.get::<bool>("ms-casual-mode");
const SPAWN_RADIUS: i64 = settings.startup.get::<i64>("ms-spawn-radius");

Trait Implementations§

Source§

impl Clone for LuaAny

Source§

fn clone(&self) -> LuaAny

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for LuaAny

Source§

impl Debug for LuaAny

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for LuaAny

Source§

fn default() -> LuaAny

Returns the “default value” for a type. Read more
Source§

impl Eq for LuaAny

Source§

impl<'a> From<&'a str> for LuaAny

Source§

fn from(_: &'a str) -> Self

Converts to this type from the input type.
Source§

impl From<AchievementPrototypeFilterFilter> for LuaAny

Source§

fn from(_: AchievementPrototypeFilterFilter) -> Self

Converts to this type from the input type.
Source§

impl From<AchievementPrototypeFilterMode> for LuaAny

Source§

fn from(_: AchievementPrototypeFilterMode) -> Self

Converts to this type from the input type.
Source§

impl From<Alignment> for LuaAny

Source§

fn from(_: Alignment) -> Self

Converts to this type from the input type.
Source§

impl From<ApplyTileTint> for LuaAny

Source§

fn from(_: ApplyTileTint) -> Self

Converts to this type from the input type.
Source§

impl From<ArithmeticCombinatorParameterOperation> for LuaAny

Source§

fn from(_: ArithmeticCombinatorParameterOperation) -> Self

Converts to this type from the input type.
Source§

impl From<AsteroidChunkPrototypeFilterFilter> for LuaAny

Source§

fn from(_: AsteroidChunkPrototypeFilterFilter) -> Self

Converts to this type from the input type.
Source§

impl From<AttackParametersType> for LuaAny

Source§

fn from(_: AttackParametersType) -> Self

Converts to this type from the input type.
Source§

impl From<BeltConnectionType> for LuaAny

Source§

fn from(_: BeltConnectionType) -> Self

Converts to this type from the input type.
Source§

impl From<BlueprintSpoilPriority> for LuaAny

Source§

fn from(_: BlueprintSpoilPriority) -> Self

Converts to this type from the input type.
Source§

impl From<BoundingBox> for LuaAny

Source§

fn from(_: BoundingBox) -> Self

Converts to this type from the input type.
Source§

impl From<CapsuleActionType> for LuaAny

Source§

fn from(_: CapsuleActionType) -> Self

Converts to this type from the input type.
Source§

impl From<CliffOrientation> for LuaAny

Source§

fn from(_: CliffOrientation) -> Self

Converts to this type from the input type.
Source§

impl From<Color> for LuaAny

Source§

fn from(_: Color) -> Self

Converts to this type from the input type.
Source§

impl From<ComparatorString> for LuaAny

Source§

fn from(_: ComparatorString) -> Self

Converts to this type from the input type.
Source§

impl From<CursorBoxRenderType> for LuaAny

Source§

fn from(_: CursorBoxRenderType) -> Self

Converts to this type from the input type.
Source§

impl From<DebugVariablePresentationHintAttributes> for LuaAny

Source§

fn from(_: DebugVariablePresentationHintAttributes) -> Self

Converts to this type from the input type.
Source§

impl From<DebugVariablesFilterFilter> for LuaAny

Source§

fn from(_: DebugVariablesFilterFilter) -> Self

Converts to this type from the input type.
Source§

impl From<DeciderCombinatorConditionCompareType> for LuaAny

Source§

fn from(_: DeciderCombinatorConditionCompareType) -> Self

Converts to this type from the input type.
Source§

impl From<DecorativePrototypeFilterFilter> for LuaAny

Source§

fn from(_: DecorativePrototypeFilterFilter) -> Self

Converts to this type from the input type.
Source§

impl From<ElemType> for LuaAny

Source§

fn from(_: ElemType) -> Self

Converts to this type from the input type.
Source§

impl From<EntityPrototypeFilterFilter> for LuaAny

Source§

fn from(_: EntityPrototypeFilterFilter) -> Self

Converts to this type from the input type.
Source§

impl From<EntityPrototypeFlag> for LuaAny

Source§

fn from(_: EntityPrototypeFlag) -> Self

Converts to this type from the input type.
Source§

impl From<EquipmentPrototypeFilterFilter> for LuaAny

Source§

fn from(_: EquipmentPrototypeFilterFilter) -> Self

Converts to this type from the input type.
Source§

impl From<FluidFlowDirection> for LuaAny

Source§

fn from(_: FluidFlowDirection) -> Self

Converts to this type from the input type.
Source§

impl From<FluidPrototypeFilterFilter> for LuaAny

Source§

fn from(_: FluidPrototypeFilterFilter) -> Self

Converts to this type from the input type.
Source§

impl From<ForceCondition> for LuaAny

Source§

fn from(_: ForceCondition) -> Self

Converts to this type from the input type.
Source§

impl From<GuiAnchorGhostMode> for LuaAny

Source§

fn from(_: GuiAnchorGhostMode) -> Self

Converts to this type from the input type.
Source§

impl From<GuiArrowType> for LuaAny

Source§

fn from(_: GuiArrowType) -> Self

Converts to this type from the input type.
Source§

impl From<GuiDirection> for LuaAny

Source§

fn from(_: GuiDirection) -> Self

Converts to this type from the input type.
Source§

impl From<GuiElementType> for LuaAny

Source§

fn from(_: GuiElementType) -> Self

Converts to this type from the input type.
Source§

impl From<HeatSettingMode> for LuaAny

Source§

fn from(_: HeatSettingMode) -> Self

Converts to this type from the input type.
Source§

impl From<IDType> for LuaAny

Source§

fn from(_: IDType) -> Self

Converts to this type from the input type.
Source§

impl From<IconDrawSpecificationRenderLayer> for LuaAny

Source§

fn from(_: IconDrawSpecificationRenderLayer) -> Self

Converts to this type from the input type.
Source§

impl From<InfinityInventoryFilterMode> for LuaAny

Source§

fn from(_: InfinityInventoryFilterMode) -> Self

Converts to this type from the input type.
Source§

impl From<IngredientType> for LuaAny

Source§

fn from(_: IngredientType) -> Self

Converts to this type from the input type.
Source§

impl From<ItemPrototypeFilterFilter> for LuaAny

Source§

fn from(_: ItemPrototypeFilterFilter) -> Self

Converts to this type from the input type.
Source§

impl From<ItemPrototypeFlag> for LuaAny

Source§

fn from(_: ItemPrototypeFlag) -> Self

Converts to this type from the input type.
Source§

impl From<LinkedGameControl> for LuaAny

Source§

fn from(_: LinkedGameControl) -> Self

Converts to this type from the input type.
Source§

impl From<LogisticMode> for LuaAny

Source§

fn from(_: LogisticMode) -> Self

Converts to this type from the input type.
Source§

impl From<LuaAISettings> for LuaAny

Source§

fn from(_: LuaAISettings) -> Self

Converts to this type from the input type.
Source§

impl From<LuaAccumulatorControlBehavior> for LuaAny

Source§

fn from(_: LuaAccumulatorControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaAchievementPrototype> for LuaAny

Source§

fn from(_: LuaAchievementPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaActiveTriggerPrototype> for LuaAny

Source§

fn from(_: LuaActiveTriggerPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaAgriculturalTowerControlBehavior> for LuaAny

Source§

fn from(_: LuaAgriculturalTowerControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaAirbornePollutantPrototype> for LuaAny

Source§

fn from(_: LuaAirbornePollutantPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaAmmoCategoryPrototype> for LuaAny

Source§

fn from(_: LuaAmmoCategoryPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaArithmeticCombinatorControlBehavior> for LuaAny

Source§

fn from(_: LuaArithmeticCombinatorControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaArtilleryTurretControlBehavior> for LuaAny

Source§

fn from(_: LuaArtilleryTurretControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaAssemblingMachineControlBehavior> for LuaAny

Source§

fn from(_: LuaAssemblingMachineControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaAsteroidChunkPrototype> for LuaAny

Source§

fn from(_: LuaAsteroidChunkPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaAsteroidCollectorControlBehavior> for LuaAny

Source§

fn from(_: LuaAsteroidCollectorControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaAutoplaceControlPrototype> for LuaAny

Source§

fn from(_: LuaAutoplaceControlPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaAutoplaceControlPrototypeCategory> for LuaAny

Source§

fn from(_: LuaAutoplaceControlPrototypeCategory) -> Self

Converts to this type from the input type.
Source§

impl From<LuaBoilerControlBehavior> for LuaAny

Source§

fn from(_: LuaBoilerControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaBootstrap> for LuaAny

Source§

fn from(_: LuaBootstrap) -> Self

Converts to this type from the input type.
Source§

impl From<LuaBurner> for LuaAny

Source§

fn from(_: LuaBurner) -> Self

Converts to this type from the input type.
Source§

impl From<LuaBurnerPrototype> for LuaAny

Source§

fn from(_: LuaBurnerPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaBurnerUsagePrototype> for LuaAny

Source§

fn from(_: LuaBurnerUsagePrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaCargoHatch> for LuaAny

Source§

fn from(_: LuaCargoHatch) -> Self

Converts to this type from the input type.
Source§

impl From<LuaCargoLandingPadControlBehavior> for LuaAny

Source§

fn from(_: LuaCargoLandingPadControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaChunkIterator> for LuaAny

Source§

fn from(_: LuaChunkIterator) -> Self

Converts to this type from the input type.
Source§

impl From<LuaCircuitNetwork> for LuaAny

Source§

fn from(_: LuaCircuitNetwork) -> Self

Converts to this type from the input type.
Source§

impl From<LuaCollisionLayerPrototype> for LuaAny

Source§

fn from(_: LuaCollisionLayerPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaCombinatorControlBehavior> for LuaAny

Source§

fn from(_: LuaCombinatorControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaCommandProcessor> for LuaAny

Source§

fn from(_: LuaCommandProcessor) -> Self

Converts to this type from the input type.
Source§

impl From<LuaCommandable> for LuaAny

Source§

fn from(_: LuaCommandable) -> Self

Converts to this type from the input type.
Source§

impl From<LuaConstantCombinatorControlBehavior> for LuaAny

Source§

fn from(_: LuaConstantCombinatorControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaContainerControlBehavior> for LuaAny

Source§

fn from(_: LuaContainerControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaControl> for LuaAny

Source§

fn from(_: LuaControl) -> Self

Converts to this type from the input type.
Source§

impl From<LuaControlBehavior> for LuaAny

Source§

fn from(_: LuaControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaCustomChartTag> for LuaAny

Source§

fn from(_: LuaCustomChartTag) -> Self

Converts to this type from the input type.
Source§

impl From<LuaCustomEventPrototype> for LuaAny

Source§

fn from(_: LuaCustomEventPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaCustomInputPrototype> for LuaAny

Source§

fn from(_: LuaCustomInputPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaCustomInputPrototypeConsuming> for LuaAny

Source§

fn from(_: LuaCustomInputPrototypeConsuming) -> Self

Converts to this type from the input type.
Source§

impl From<LuaCustomTable> for LuaAny

Source§

fn from(_: LuaCustomTable) -> Self

Converts to this type from the input type.
Source§

impl From<LuaDamagePrototype> for LuaAny

Source§

fn from(_: LuaDamagePrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaDebugAdapter> for LuaAny

Source§

fn from(_: LuaDebugAdapter) -> Self

Converts to this type from the input type.
Source§

impl From<LuaDeciderCombinatorControlBehavior> for LuaAny

Source§

fn from(_: LuaDeciderCombinatorControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaDecorativePrototype> for LuaAny

Source§

fn from(_: LuaDecorativePrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaDisplayPanelControlBehavior> for LuaAny

Source§

fn from(_: LuaDisplayPanelControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaElectricEnergySourcePrototype> for LuaAny

Source§

fn from(_: LuaElectricEnergySourcePrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaElectricNetwork> for LuaAny

Source§

fn from(_: LuaElectricNetwork) -> Self

Converts to this type from the input type.
Source§

impl From<LuaElectricSubNetwork> for LuaAny

Source§

fn from(_: LuaElectricSubNetwork) -> Self

Converts to this type from the input type.
Source§

impl From<LuaEntity> for LuaAny

Source§

fn from(_: LuaEntity) -> Self

Converts to this type from the input type.
Source§

impl From<LuaEntityBeltShape> for LuaAny

Source§

fn from(_: LuaEntityBeltShape) -> Self

Converts to this type from the input type.
Source§

impl From<LuaEntityCargoPodState> for LuaAny

Source§

fn from(_: LuaEntityCargoPodState) -> Self

Converts to this type from the input type.
Source§

impl From<LuaEntityClonedEventFilterFilter> for LuaAny

Source§

fn from(_: LuaEntityClonedEventFilterFilter) -> Self

Converts to this type from the input type.
Source§

impl From<LuaEntityDamagedEventFilterFilter> for LuaAny

Source§

fn from(_: LuaEntityDamagedEventFilterFilter) -> Self

Converts to this type from the input type.
Source§

impl From<LuaEntityDiedEventFilterFilter> for LuaAny

Source§

fn from(_: LuaEntityDiedEventFilterFilter) -> Self

Converts to this type from the input type.
Source§

impl From<LuaEntityInserterFilterMode> for LuaAny

Source§

fn from(_: LuaEntityInserterFilterMode) -> Self

Converts to this type from the input type.
Source§

impl From<LuaEntityPrototype> for LuaAny

Source§

fn from(_: LuaEntityPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaEntityPrototypeBeaconCounter> for LuaAny

Source§

fn from(_: LuaEntityPrototypeBeaconCounter) -> Self

Converts to this type from the input type.
Source§

impl From<LuaEntityPrototypeBoilerMode> for LuaAny

Source§

fn from(_: LuaEntityPrototypeBoilerMode) -> Self

Converts to this type from the input type.
Source§

impl From<LuaEntityPrototypeGuiMode> for LuaAny

Source§

fn from(_: LuaEntityPrototypeGuiMode) -> Self

Converts to this type from the input type.
Source§

impl From<LuaEntityPrototypeInventoryType> for LuaAny

Source§

fn from(_: LuaEntityPrototypeInventoryType) -> Self

Converts to this type from the input type.
Source§

impl From<LuaEntityPrototypeLogisticMode> for LuaAny

Source§

fn from(_: LuaEntityPrototypeLogisticMode) -> Self

Converts to this type from the input type.
Source§

impl From<LuaEntityPrototypeRemoveDecoratives> for LuaAny

Source§

fn from(_: LuaEntityPrototypeRemoveDecoratives) -> Self

Converts to this type from the input type.
Source§

impl From<LuaEquipment> for LuaAny

Source§

fn from(_: LuaEquipment) -> Self

Converts to this type from the input type.
Source§

impl From<LuaEquipmentCategoryPrototype> for LuaAny

Source§

fn from(_: LuaEquipmentCategoryPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaEquipmentGrid> for LuaAny

Source§

fn from(_: LuaEquipmentGrid) -> Self

Converts to this type from the input type.
Source§

impl From<LuaEquipmentGridPrototype> for LuaAny

Source§

fn from(_: LuaEquipmentGridPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaEquipmentPrototype> for LuaAny

Source§

fn from(_: LuaEquipmentPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaFlowStatistics> for LuaAny

Source§

fn from(_: LuaFlowStatistics) -> Self

Converts to this type from the input type.
Source§

impl From<LuaFluidBoxPrototype> for LuaAny

Source§

fn from(_: LuaFluidBoxPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaFluidEnergySourcePrototype> for LuaAny

Source§

fn from(_: LuaFluidEnergySourcePrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaFluidPrototype> for LuaAny

Source§

fn from(_: LuaFluidPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaFontPrototype> for LuaAny

Source§

fn from(_: LuaFontPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaForce> for LuaAny

Source§

fn from(_: LuaForce) -> Self

Converts to this type from the input type.
Source§

impl From<LuaFuelCategoryPrototype> for LuaAny

Source§

fn from(_: LuaFuelCategoryPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaFurnaceControlBehavior> for LuaAny

Source§

fn from(_: LuaFurnaceControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaGameScript> for LuaAny

Source§

fn from(_: LuaGameScript) -> Self

Converts to this type from the input type.
Source§

impl From<LuaGenericOnOffControlBehavior> for LuaAny

Source§

fn from(_: LuaGenericOnOffControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaGroup> for LuaAny

Source§

fn from(_: LuaGroup) -> Self

Converts to this type from the input type.
Source§

impl From<LuaGui> for LuaAny

Source§

fn from(_: LuaGui) -> Self

Converts to this type from the input type.
Source§

impl From<LuaGuiElement> for LuaAny

Source§

fn from(_: LuaGuiElement) -> Self

Converts to this type from the input type.
Source§

impl From<LuaGuiElementScrollMode> for LuaAny

Source§

fn from(_: LuaGuiElementScrollMode) -> Self

Converts to this type from the input type.
Source§

impl From<LuaHeatBufferPrototype> for LuaAny

Source§

fn from(_: LuaHeatBufferPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaHeatEnergySourcePrototype> for LuaAny

Source§

fn from(_: LuaHeatEnergySourcePrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaHeatPipeControlBehavior> for LuaAny

Source§

fn from(_: LuaHeatPipeControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaHelpers> for LuaAny

Source§

fn from(_: LuaHelpers) -> Self

Converts to this type from the input type.
Source§

impl From<LuaHelpersStage> for LuaAny

Source§

fn from(_: LuaHelpersStage) -> Self

Converts to this type from the input type.
Source§

impl From<LuaInserterControlBehavior> for LuaAny

Source§

fn from(_: LuaInserterControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaInventory> for LuaAny

Source§

fn from(_: LuaInventory) -> Self

Converts to this type from the input type.
Source§

impl From<LuaItem> for LuaAny

Source§

fn from(_: LuaItem) -> Self

Converts to this type from the input type.
Source§

impl From<LuaItemCommon> for LuaAny

Source§

fn from(_: LuaItemCommon) -> Self

Converts to this type from the input type.
Source§

impl From<LuaItemCommonType> for LuaAny

Source§

fn from(_: LuaItemCommonType) -> Self

Converts to this type from the input type.
Source§

impl From<LuaItemPrototype> for LuaAny

Source§

fn from(_: LuaItemPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaItemPrototypeAmmoSourceType> for LuaAny

Source§

fn from(_: LuaItemPrototypeAmmoSourceType) -> Self

Converts to this type from the input type.
Source§

impl From<LuaItemPrototypeSendToOrbitMode> for LuaAny

Source§

fn from(_: LuaItemPrototypeSendToOrbitMode) -> Self

Converts to this type from the input type.
Source§

impl From<LuaItemStack> for LuaAny

Source§

fn from(_: LuaItemStack) -> Self

Converts to this type from the input type.
Source§

impl From<LuaLabControlBehavior> for LuaAny

Source§

fn from(_: LuaLabControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaLampControlBehavior> for LuaAny

Source§

fn from(_: LuaLampControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaLandMineControlBehavior> for LuaAny

Source§

fn from(_: LuaLandMineControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaLazyLoadedValue> for LuaAny

Source§

fn from(_: LuaLazyLoadedValue) -> Self

Converts to this type from the input type.
Source§

impl From<LuaLoaderControlBehavior> for LuaAny

Source§

fn from(_: LuaLoaderControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaLogisticCell> for LuaAny

Source§

fn from(_: LuaLogisticCell) -> Self

Converts to this type from the input type.
Source§

impl From<LuaLogisticContainerControlBehavior> for LuaAny

Source§

fn from(_: LuaLogisticContainerControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaLogisticNetwork> for LuaAny

Source§

fn from(_: LuaLogisticNetwork) -> Self

Converts to this type from the input type.
Source§

impl From<LuaLogisticNetworkMember> for LuaAny

Source§

fn from(_: LuaLogisticNetworkMember) -> Self

Converts to this type from the input type.
Source§

impl From<LuaLogisticNetworkMembers2> for LuaAny

Source§

fn from(_: LuaLogisticNetworkMembers2) -> Self

Converts to this type from the input type.
Source§

impl From<LuaLogisticNetworkMembers> for LuaAny

Source§

fn from(_: LuaLogisticNetworkMembers) -> Self

Converts to this type from the input type.
Source§

impl From<LuaLogisticPoint> for LuaAny

Source§

fn from(_: LuaLogisticPoint) -> Self

Converts to this type from the input type.
Source§

impl From<LuaLogisticSection> for LuaAny

Source§

fn from(_: LuaLogisticSection) -> Self

Converts to this type from the input type.
Source§

impl From<LuaLogisticSections> for LuaAny

Source§

fn from(_: LuaLogisticSections) -> Self

Converts to this type from the input type.
Source§

impl From<LuaMiningDrillControlBehavior> for LuaAny

Source§

fn from(_: LuaMiningDrillControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaModData> for LuaAny

Source§

fn from(_: LuaModData) -> Self

Converts to this type from the input type.
Source§

impl From<LuaModSettingPrototype> for LuaAny

Source§

fn from(_: LuaModSettingPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaModSettingPrototypeSettingType> for LuaAny

Source§

fn from(_: LuaModSettingPrototypeSettingType) -> Self

Converts to this type from the input type.
Source§

impl From<LuaModuleCategoryPrototype> for LuaAny

Source§

fn from(_: LuaModuleCategoryPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaNamedNoiseExpression> for LuaAny

Source§

fn from(_: LuaNamedNoiseExpression) -> Self

Converts to this type from the input type.
Source§

impl From<LuaNamedNoiseFunction> for LuaAny

Source§

fn from(_: LuaNamedNoiseFunction) -> Self

Converts to this type from the input type.
Source§

impl From<LuaNotificationQueue> for LuaAny

Source§

fn from(_: LuaNotificationQueue) -> Self

Converts to this type from the input type.
Source§

impl From<LuaParticlePrototype> for LuaAny

Source§

fn from(_: LuaParticlePrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaPermissionGroup> for LuaAny

Source§

fn from(_: LuaPermissionGroup) -> Self

Converts to this type from the input type.
Source§

impl From<LuaPermissionGroups> for LuaAny

Source§

fn from(_: LuaPermissionGroups) -> Self

Converts to this type from the input type.
Source§

impl From<LuaPlanet> for LuaAny

Source§

fn from(_: LuaPlanet) -> Self

Converts to this type from the input type.
Source§

impl From<LuaPlayer> for LuaAny

Source§

fn from(_: LuaPlayer) -> Self

Converts to this type from the input type.
Source§

impl From<LuaPostEntityDiedEventFilterFilter> for LuaAny

Source§

fn from(_: LuaPostEntityDiedEventFilterFilter) -> Self

Converts to this type from the input type.
Source§

impl From<LuaPostSegmentedUnitDiedEventFilterFilter> for LuaAny

Source§

fn from(_: LuaPostSegmentedUnitDiedEventFilterFilter) -> Self

Converts to this type from the input type.
Source§

impl From<LuaProcessionLayerInheritanceGroupPrototype> for LuaAny

Source§

fn from(_: LuaProcessionLayerInheritanceGroupPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaProcessionPrototype> for LuaAny

Source§

fn from(_: LuaProcessionPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaProcessionPrototypeUsage> for LuaAny

Source§

fn from(_: LuaProcessionPrototypeUsage) -> Self

Converts to this type from the input type.
Source§

impl From<LuaProfiler> for LuaAny

Source§

fn from(_: LuaProfiler) -> Self

Converts to this type from the input type.
Source§

impl From<LuaProgrammableSpeakerControlBehavior> for LuaAny

Source§

fn from(_: LuaProgrammableSpeakerControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaPrototypeBase> for LuaAny

Source§

fn from(_: LuaPrototypeBase) -> Self

Converts to this type from the input type.
Source§

impl From<LuaPrototypes> for LuaAny

Source§

fn from(_: LuaPrototypes) -> Self

Converts to this type from the input type.
Source§

impl From<LuaProxyContainerControlBehavior> for LuaAny

Source§

fn from(_: LuaProxyContainerControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaPumpControlBehavior> for LuaAny

Source§

fn from(_: LuaPumpControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaQualityPrototype> for LuaAny

Source§

fn from(_: LuaQualityPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaRCON> for LuaAny

Source§

fn from(_: LuaRCON) -> Self

Converts to this type from the input type.
Source§

impl From<LuaRadarControlBehavior> for LuaAny

Source§

fn from(_: LuaRadarControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaRailEnd> for LuaAny

Source§

fn from(_: LuaRailEnd) -> Self

Converts to this type from the input type.
Source§

impl From<LuaRailPath> for LuaAny

Source§

fn from(_: LuaRailPath) -> Self

Converts to this type from the input type.
Source§

impl From<LuaRailSignalBaseControlBehavior> for LuaAny

Source§

fn from(_: LuaRailSignalBaseControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaRandomGenerator> for LuaAny

Source§

fn from(_: LuaRandomGenerator) -> Self

Converts to this type from the input type.
Source§

impl From<LuaReactorControlBehavior> for LuaAny

Source§

fn from(_: LuaReactorControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaRecipe> for LuaAny

Source§

fn from(_: LuaRecipe) -> Self

Converts to this type from the input type.
Source§

impl From<LuaRecipeCategoryPrototype> for LuaAny

Source§

fn from(_: LuaRecipeCategoryPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaRecipePrototype> for LuaAny

Source§

fn from(_: LuaRecipePrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaRecord> for LuaAny

Source§

fn from(_: LuaRecord) -> Self

Converts to this type from the input type.
Source§

impl From<LuaRecordType> for LuaAny

Source§

fn from(_: LuaRecordType) -> Self

Converts to this type from the input type.
Source§

impl From<LuaRemote> for LuaAny

Source§

fn from(_: LuaRemote) -> Self

Converts to this type from the input type.
Source§

impl From<LuaRenderObject> for LuaAny

Source§

fn from(_: LuaRenderObject) -> Self

Converts to this type from the input type.
Source§

impl From<LuaRenderObjectType> for LuaAny

Source§

fn from(_: LuaRenderObjectType) -> Self

Converts to this type from the input type.
Source§

impl From<LuaRendering> for LuaAny

Source§

fn from(_: LuaRendering) -> Self

Converts to this type from the input type.
Source§

impl From<LuaResourceCategoryPrototype> for LuaAny

Source§

fn from(_: LuaResourceCategoryPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaRoboportControlBehavior> for LuaAny

Source§

fn from(_: LuaRoboportControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaRocketSiloControlBehavior> for LuaAny

Source§

fn from(_: LuaRocketSiloControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaSchedule> for LuaAny

Source§

fn from(_: LuaSchedule) -> Self

Converts to this type from the input type.
Source§

impl From<LuaSegment> for LuaAny

Source§

fn from(_: LuaSegment) -> Self

Converts to this type from the input type.
Source§

impl From<LuaSegmentedUnit> for LuaAny

Source§

fn from(_: LuaSegmentedUnit) -> Self

Converts to this type from the input type.
Source§

impl From<LuaSegmentedUnitCreatedEventFilterFilter> for LuaAny

Source§

fn from(_: LuaSegmentedUnitCreatedEventFilterFilter) -> Self

Converts to this type from the input type.
Source§

impl From<LuaSegmentedUnitDamagedEventFilterFilter> for LuaAny

Source§

fn from(_: LuaSegmentedUnitDamagedEventFilterFilter) -> Self

Converts to this type from the input type.
Source§

impl From<LuaSelectorCombinatorControlBehavior> for LuaAny

Source§

fn from(_: LuaSelectorCombinatorControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaSettings> for LuaAny

Source§

fn from(_: LuaSettings) -> Self

Converts to this type from the input type.
Source§

impl From<LuaShortcutPrototype> for LuaAny

Source§

fn from(_: LuaShortcutPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaSimulation> for LuaAny

Source§

fn from(_: LuaSimulation) -> Self

Converts to this type from the input type.
Source§

impl From<LuaSimulationInventory> for LuaAny

Source§

fn from(_: LuaSimulationInventory) -> Self

Converts to this type from the input type.
Source§

impl From<LuaSingleFluidBoxControlBehavior> for LuaAny

Source§

fn from(_: LuaSingleFluidBoxControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaSpaceConnectionPrototype> for LuaAny

Source§

fn from(_: LuaSpaceConnectionPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaSpaceLocationPrototype> for LuaAny

Source§

fn from(_: LuaSpaceLocationPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaSpacePlatform> for LuaAny

Source§

fn from(_: LuaSpacePlatform) -> Self

Converts to this type from the input type.
Source§

impl From<LuaSpacePlatformHubControlBehavior> for LuaAny

Source§

fn from(_: LuaSpacePlatformHubControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaSplitterControlBehavior> for LuaAny

Source§

fn from(_: LuaSplitterControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaStyle> for LuaAny

Source§

fn from(_: LuaStyle) -> Self

Converts to this type from the input type.
Source§

impl From<LuaStyleHorizontalAlign> for LuaAny

Source§

fn from(_: LuaStyleHorizontalAlign) -> Self

Converts to this type from the input type.
Source§

impl From<LuaStyleVerticalAlign> for LuaAny

Source§

fn from(_: LuaStyleVerticalAlign) -> Self

Converts to this type from the input type.
Source§

impl From<LuaSurface> for LuaAny

Source§

fn from(_: LuaSurface) -> Self

Converts to this type from the input type.
Source§

impl From<LuaSurfacePropertyPrototype> for LuaAny

Source§

fn from(_: LuaSurfacePropertyPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaSurfacePrototype> for LuaAny

Source§

fn from(_: LuaSurfacePrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaTechnology> for LuaAny

Source§

fn from(_: LuaTechnology) -> Self

Converts to this type from the input type.
Source§

impl From<LuaTechnologyPrototype> for LuaAny

Source§

fn from(_: LuaTechnologyPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaTerritory> for LuaAny

Source§

fn from(_: LuaTerritory) -> Self

Converts to this type from the input type.
Source§

impl From<LuaTile> for LuaAny

Source§

fn from(_: LuaTile) -> Self

Converts to this type from the input type.
Source§

impl From<LuaTilePrototype> for LuaAny

Source§

fn from(_: LuaTilePrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaTrain> for LuaAny

Source§

fn from(_: LuaTrain) -> Self

Converts to this type from the input type.
Source§

impl From<LuaTrainManager> for LuaAny

Source§

fn from(_: LuaTrainManager) -> Self

Converts to this type from the input type.
Source§

impl From<LuaTrainManagerSearchDirection> for LuaAny

Source§

fn from(_: LuaTrainManagerSearchDirection) -> Self

Converts to this type from the input type.
Source§

impl From<LuaTrainStopControlBehavior> for LuaAny

Source§

fn from(_: LuaTrainStopControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaTransportBeltControlBehavior> for LuaAny

Source§

fn from(_: LuaTransportBeltControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaTransportLine> for LuaAny

Source§

fn from(_: LuaTransportLine) -> Self

Converts to this type from the input type.
Source§

impl From<LuaTrivialSmokePrototype> for LuaAny

Source§

fn from(_: LuaTrivialSmokePrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaTurretControlBehavior> for LuaAny

Source§

fn from(_: LuaTurretControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaUndoRedoStack> for LuaAny

Source§

fn from(_: LuaUndoRedoStack) -> Self

Converts to this type from the input type.
Source§

impl From<LuaVirtualSignalPrototype> for LuaAny

Source§

fn from(_: LuaVirtualSignalPrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaVoidEnergySourcePrototype> for LuaAny

Source§

fn from(_: LuaVoidEnergySourcePrototype) -> Self

Converts to this type from the input type.
Source§

impl From<LuaWallControlBehavior> for LuaAny

Source§

fn from(_: LuaWallControlBehavior) -> Self

Converts to this type from the input type.
Source§

impl From<LuaWireConnector> for LuaAny

Source§

fn from(_: LuaWireConnector) -> Self

Converts to this type from the input type.
Source§

impl From<MapPosition> for LuaAny

Source§

fn from(_: MapPosition) -> Self

Converts to this type from the input type.
Source§

impl From<ModSettingPrototypeFilterFilter> for LuaAny

Source§

fn from(_: ModSettingPrototypeFilterFilter) -> Self

Converts to this type from the input type.
Source§

impl From<ModifierType> for LuaAny

Source§

fn from(_: ModifierType) -> Self

Converts to this type from the input type.
Source§

impl From<OnPermissionGroupEditedType> for LuaAny

Source§

fn from(_: OnPermissionGroupEditedType) -> Self

Converts to this type from the input type.
Source§

impl From<OnRuntimeModSettingChangedSettingType> for LuaAny

Source§

fn from(_: OnRuntimeModSettingChangedSettingType) -> Self

Converts to this type from the input type.
Source§

impl From<PipeConnectionType> for LuaAny

Source§

fn from(_: PipeConnectionType) -> Self

Converts to this type from the input type.
Source§

impl From<PlatformBackdropHeroCloudProjectionStyle> for LuaAny

Source§

fn from(_: PlatformBackdropHeroCloudProjectionStyle) -> Self

Converts to this type from the input type.
Source§

impl From<ProductionType> for LuaAny

Source§

fn from(_: ProductionType) -> Self

Converts to this type from the input type.
Source§

impl From<ProgrammableSpeakerPlaybackMode> for LuaAny

Source§

fn from(_: ProgrammableSpeakerPlaybackMode) -> Self

Converts to this type from the input type.
Source§

impl From<PrototypeFilterMode> for LuaAny

Source§

fn from(_: PrototypeFilterMode) -> Self

Converts to this type from the input type.
Source§

impl From<QuickBarSlotType> for LuaAny

Source§

fn from(_: QuickBarSlotType) -> Self

Converts to this type from the input type.
Source§

impl From<RangeMode> for LuaAny

Source§

fn from(_: RangeMode) -> Self

Converts to this type from the input type.
Source§

impl From<RecipePrototypeFilterFilter> for LuaAny

Source§

fn from(_: RecipePrototypeFilterFilter) -> Self

Converts to this type from the input type.
Source§

impl From<RequestFromLocation> for LuaAny

Source§

fn from(_: RequestFromLocation) -> Self

Converts to this type from the input type.
Source§

impl From<ResearchTriggerType> for LuaAny

Source§

fn from(_: ResearchTriggerType) -> Self

Converts to this type from the input type.
Source§

impl From<ScriptRenderMode> for LuaAny

Source§

fn from(_: ScriptRenderMode) -> Self

Converts to this type from the input type.
Source§

impl From<ScriptRenderTargetTableType> for LuaAny

Source§

fn from(_: ScriptRenderTargetTableType) -> Self

Converts to this type from the input type.
Source§

impl From<ScriptSpriteLightMode> for LuaAny

Source§

fn from(_: ScriptSpriteLightMode) -> Self

Converts to this type from the input type.
Source§

impl From<ScrollPolicy> for LuaAny

Source§

fn from(_: ScrollPolicy) -> Self

Converts to this type from the input type.
Source§

impl From<SelectorCombinatorParameterOperation> for LuaAny

Source§

fn from(_: SelectorCombinatorParameterOperation) -> Self

Converts to this type from the input type.
Source§

impl From<SignalIDType> for LuaAny

Source§

fn from(_: SignalIDType) -> Self

Converts to this type from the input type.
Source§

impl From<SimulationWidgetType> for LuaAny

Source§

fn from(_: SimulationWidgetType) -> Self

Converts to this type from the input type.
Source§

impl From<SoundType> for LuaAny

Source§

fn from(_: SoundType) -> Self

Converts to this type from the input type.
Source§

impl From<SpaceLocationPrototypeFilterFilter> for LuaAny

Source§

fn from(_: SpaceLocationPrototypeFilterFilter) -> Self

Converts to this type from the input type.
Source§

impl From<SplitterPriority> for LuaAny

Source§

fn from(_: SplitterPriority) -> Self

Converts to this type from the input type.
Source§

impl From<SpoilPriority> for LuaAny

Source§

fn from(_: SpoilPriority) -> Self

Converts to this type from the input type.
Source§

impl From<String> for LuaAny

Source§

fn from(_: String) -> Self

Converts to this type from the input type.
Source§

impl From<SwitchState> for LuaAny

Source§

fn from(_: SwitchState) -> Self

Converts to this type from the input type.
Source§

impl From<TargetType> for LuaAny

Source§

fn from(_: TargetType) -> Self

Converts to this type from the input type.
Source§

impl From<TechnologyPrototypeFilterFilter> for LuaAny

Source§

fn from(_: TechnologyPrototypeFilterFilter) -> Self

Converts to this type from the input type.
Source§

impl From<TerritoryVisibilityCondition> for LuaAny

Source§

fn from(_: TerritoryVisibilityCondition) -> Self

Converts to this type from the input type.
Source§

impl From<TextAlign> for LuaAny

Source§

fn from(_: TextAlign) -> Self

Converts to this type from the input type.
Source§

impl From<TilePrototypeFilterFilter> for LuaAny

Source§

fn from(_: TilePrototypeFilterFilter) -> Self

Converts to this type from the input type.
Source§

impl From<TrainPathRequestType> for LuaAny

Source§

fn from(_: TrainPathRequestType) -> Self

Converts to this type from the input type.
Source§

impl From<TriggerDeliveryType> for LuaAny

Source§

fn from(_: TriggerDeliveryType) -> Self

Converts to this type from the input type.
Source§

impl From<TriggerEffectItemType> for LuaAny

Source§

fn from(_: TriggerEffectItemType) -> Self

Converts to this type from the input type.
Source§

impl From<TriggerItemType> for LuaAny

Source§

fn from(_: TriggerItemType) -> Self

Converts to this type from the input type.
Source§

impl From<UndoRedoActionType> for LuaAny

Source§

fn from(_: UndoRedoActionType) -> Self

Converts to this type from the input type.
Source§

impl From<UnlockableIDType> for LuaAny

Source§

fn from(_: UnlockableIDType) -> Self

Converts to this type from the input type.
Source§

impl From<UpgradeMapperDestinationType> for LuaAny

Source§

fn from(_: UpgradeMapperDestinationType) -> Self

Converts to this type from the input type.
Source§

impl From<ValveMode> for LuaAny

Source§

fn from(_: ValveMode) -> Self

Converts to this type from the input type.
Source§

impl From<VerticalTextAlign> for LuaAny

Source§

fn from(_: VerticalTextAlign) -> Self

Converts to this type from the input type.
Source§

impl From<VirtualSignalPrototypeFilterFilter> for LuaAny

Source§

fn from(_: VirtualSignalPrototypeFilterFilter) -> Self

Converts to this type from the input type.
Source§

impl From<WaitConditionType> for LuaAny

Source§

fn from(_: WaitConditionType) -> Self

Converts to this type from the input type.
Source§

impl From<bool> for LuaAny

Source§

fn from(_: bool) -> Self

Converts to this type from the input type.
Source§

impl From<f32> for LuaAny

Source§

fn from(_: f32) -> Self

Converts to this type from the input type.
Source§

impl From<f64> for LuaAny

Source§

fn from(_: f64) -> Self

Converts to this type from the input type.
Source§

impl From<i8> for LuaAny

Source§

fn from(_: i8) -> Self

Converts to this type from the input type.
Source§

impl From<i16> for LuaAny

Source§

fn from(_: i16) -> Self

Converts to this type from the input type.
Source§

impl From<i32> for LuaAny

Source§

fn from(_: i32) -> Self

Converts to this type from the input type.
Source§

impl From<i64> for LuaAny

Source§

fn from(_: i64) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for LuaAny

Source§

fn from(_: u8) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for LuaAny

Source§

fn from(_: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for LuaAny

Source§

fn from(_: u32) -> Self

Converts to this type from the input type.
Source§

impl From<u64> for LuaAny

Source§

fn from(_: u64) -> Self

Converts to this type from the input type.
Source§

impl From<usize> for LuaAny

Source§

fn from(_: usize) -> Self

Converts to this type from the input type.
Source§

impl Index<&str> for LuaAny

Source§

type Output = ModSettingValue

The returned type after indexing.
Source§

fn index(&self, _key: &str) -> &Self::Output

Performs the indexing (container[index]) operation. Read more
Source§

impl PartialEq for LuaAny

Source§

fn eq(&self, other: &LuaAny) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for LuaAny

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.