pub enum Arm {
Show 196 variants
Commander,
WindTurbine,
Solar,
MetalStorage,
EnergyStorage,
MetalExtractor,
EnergyConverter,
BotLab,
VehiclePlant,
AirPlant,
HovercraftPlatform,
Camera,
Radar,
Teeth,
LightLaserTower,
LightAntiAir,
FloatingLightAntiAir,
TorpedoLauncher,
UnderwaterMetalStorage,
UnderwaterEnergyStorage,
NavalEnergyConverter,
Shipyard,
TidalGenerator,
FloatingTeeth,
FloatingRadar,
FloatingHovercraftPlatform,
OffshoreTorpedoLauncher,
T1AirConstructor,
T1AirScout,
T1Fighter,
T1Bomber,
LightParalyzerDrone,
T1AirTransport,
AdvancedSolar,
GeothermalPowerplant,
ArmedMetalExtractor,
AircraftRepairPad,
UnderwaterAdvancedGeothermalPowerplant,
AdvancedAircraftPlant,
ConstructionTurret,
AreaControlLaserTower,
LightningTurret,
MediumRangeAntiAir,
LaserTurret,
AreaControlPlasmaArtillery,
PopUpAntiAirMissileBattery,
RadarJammer,
AntiRadar,
T2AirConstructor,
RadarSonarAircraft,
StealthFighter,
Gunship,
AtomicBomber,
StrategicBomber,
TorpedoBomber,
HeavyTransport,
RapidAssaultGunship,
EMPBomber,
FusionReactor,
AdvancedFusionReactor,
CloakedFusionReactor,
AdvancedGeothermalPowerplant,
GeothermalWeapon,
Unknown0,
AdvancedMetalExtractor,
AdvancedArmoredMetalExtractor,
WaterAircraftRepairPad,
HardenedEnergyStorage,
HardenedMetalStorage,
AdvancedRadar,
LongRangeJammer,
FortificationWall,
AdvancedEnergyConverter,
IntrusionDetector,
PlasmaDeflector,
EnergyWeapon,
RadarTargeting,
PopUpBattery,
PopUpPlasmaArtillery,
AntiAirFlak,
LongRangeAntiAir,
SeaplanePlatform,
EMPMissileLauncher,
TacticalMissileLauncher,
NuclearSilo,
AntiNukeLauncher,
DecoyFusionReactor,
LongRangePlasmaCannon,
RapidFireLongRangePlasmaCannon,
ExperimentalGantry,
TachyonAccelerator,
T1BotConstructor,
T1RessurectionBot,
FastInfantryBot,
RocketBot,
LightPlasmaBot,
AmphibiousAntiAirBot,
AdvancedBotLab,
T2BotConstructor,
FastAssaultBot,
AmphibiousBot,
HeavilyArmoredAssaultBot,
ArmoredAssaultBot,
SpiderBot,
MortarBot,
CrawlingBomb,
HeavyRocketBot,
AdvancedCrawlingBomb,
DecoyCommander,
RadarBot,
SpyBot,
StealthBot,
CombatEngineer,
JammerBot,
HeavyAntiAir,
Unknown1,
T1VehicleConstructor,
AmphibiousConstructor,
Minelayer,
LightScoutVehicle,
LightTank,
LightAmphibiousTank,
MediumAssaultTank,
LightMobileArtillery,
MissileTruck,
AntiSwarmTank,
LightMine,
MediumMine,
HeavyMine,
AdvancedVehiclePlant,
T2VehicleConstructor,
RadarJammerVehicle,
HeavyAssaultTank,
StealthyRocketLauncher,
HeavyMissileTank,
MobileArtilleryTank,
HeavyArtilleryTank,
VeryHeavyAssaultTank,
MediumAmphibiousTank,
VeryHeavyAmphibiousTank,
AntiAirFlakTank,
AntiNukeTank,
RadarVehicle,
MobileHeavyTurretExperimental,
AllTerrainAssaultExperimental,
AssaultBotExperimental,
AmphibiousSiegeExperimental,
HeavyRocketExperimental,
HeavyLaserHovertankExperimental,
T1HovercraftConstructor,
FastAttackHovertank,
Hovertank,
AssaultHovertank,
RocketHovertank,
AntiAirHovertank,
NavalConstructionTurret,
AmphibiousComplex,
FloatingHeavyLaserTower,
AdvancedShipyard,
UnderwaterGeothermalPowerplant,
PopUpTorpedoLauncher,
T1ShipConstructor,
RessurectionSub,
LightGunBoat,
MissileCorvette,
AssaultFrigate,
Destroyer,
Sub,
T2ShipConstructor,
NavalEngineer,
Cruiser,
FastAssaultSubmarine,
LongRangeBattleSubmarine,
AntiAirShip,
RadarJammerShip,
AircraftCarrier,
Battleship,
CruiseMissileShip,
Flagship,
FloatingHeavyMine,
UnderwaterExperimentalGantry,
UnderwaterFusionReactor,
UnderwaterMetalConverter,
UnderwaterEnergyConverter,
AdvancedSonar,
NavalAdvancedRadarTargeting,
AdvancedTorpedoLauncher,
NavalAntiAirGun,
FloatingMultiweaponPlatform,
SeaplaneConstructor,
SeaplaneGunship,
SeaplaneBomber,
SeaplaneTorpedoGunship,
SeaplaneFighter,
SeaplaneRadarSonar,
Unknown,
}
Variants§
Commander
WindTurbine
Solar
MetalStorage
EnergyStorage
MetalExtractor
EnergyConverter
BotLab
VehiclePlant
AirPlant
HovercraftPlatform
Camera
Radar
Teeth
LightLaserTower
LightAntiAir
FloatingLightAntiAir
TorpedoLauncher
UnderwaterMetalStorage
UnderwaterEnergyStorage
Shipyard
TidalGenerator
FloatingTeeth
FloatingRadar
FloatingHovercraftPlatform
OffshoreTorpedoLauncher
T1AirConstructor
T1AirScout
T1Fighter
T1Bomber
LightParalyzerDrone
T1AirTransport
AdvancedSolar
GeothermalPowerplant
ArmedMetalExtractor
AircraftRepairPad
UnderwaterAdvancedGeothermalPowerplant
AdvancedAircraftPlant
ConstructionTurret
AreaControlLaserTower
LightningTurret
MediumRangeAntiAir
LaserTurret
AreaControlPlasmaArtillery
PopUpAntiAirMissileBattery
RadarJammer
AntiRadar
T2AirConstructor
RadarSonarAircraft
StealthFighter
Gunship
AtomicBomber
StrategicBomber
TorpedoBomber
HeavyTransport
RapidAssaultGunship
EMPBomber
FusionReactor
AdvancedFusionReactor
CloakedFusionReactor
AdvancedGeothermalPowerplant
GeothermalWeapon
Unknown0
AdvancedMetalExtractor
AdvancedArmoredMetalExtractor
WaterAircraftRepairPad
HardenedEnergyStorage
HardenedMetalStorage
AdvancedRadar
LongRangeJammer
FortificationWall
AdvancedEnergyConverter
IntrusionDetector
PlasmaDeflector
EnergyWeapon
RadarTargeting
PopUpBattery
PopUpPlasmaArtillery
AntiAirFlak
LongRangeAntiAir
SeaplanePlatform
EMPMissileLauncher
TacticalMissileLauncher
NuclearSilo
AntiNukeLauncher
DecoyFusionReactor
LongRangePlasmaCannon
RapidFireLongRangePlasmaCannon
ExperimentalGantry
TachyonAccelerator
T1BotConstructor
T1RessurectionBot
FastInfantryBot
RocketBot
LightPlasmaBot
AmphibiousAntiAirBot
AdvancedBotLab
T2BotConstructor
FastAssaultBot
AmphibiousBot
HeavilyArmoredAssaultBot
ArmoredAssaultBot
SpiderBot
MortarBot
CrawlingBomb
HeavyRocketBot
AdvancedCrawlingBomb
DecoyCommander
RadarBot
SpyBot
StealthBot
CombatEngineer
JammerBot
HeavyAntiAir
Unknown1
T1VehicleConstructor
AmphibiousConstructor
Minelayer
LightScoutVehicle
LightTank
LightAmphibiousTank
MediumAssaultTank
LightMobileArtillery
MissileTruck
AntiSwarmTank
LightMine
MediumMine
HeavyMine
AdvancedVehiclePlant
T2VehicleConstructor
RadarJammerVehicle
HeavyAssaultTank
StealthyRocketLauncher
HeavyMissileTank
MobileArtilleryTank
HeavyArtilleryTank
VeryHeavyAssaultTank
MediumAmphibiousTank
VeryHeavyAmphibiousTank
AntiAirFlakTank
AntiNukeTank
RadarVehicle
MobileHeavyTurretExperimental
AllTerrainAssaultExperimental
AssaultBotExperimental
AmphibiousSiegeExperimental
HeavyRocketExperimental
HeavyLaserHovertankExperimental
T1HovercraftConstructor
FastAttackHovertank
Hovertank
AssaultHovertank
RocketHovertank
AntiAirHovertank
AmphibiousComplex
FloatingHeavyLaserTower
AdvancedShipyard
UnderwaterGeothermalPowerplant
PopUpTorpedoLauncher
T1ShipConstructor
RessurectionSub
LightGunBoat
MissileCorvette
AssaultFrigate
Destroyer
Sub
T2ShipConstructor
Cruiser
FastAssaultSubmarine
LongRangeBattleSubmarine
AntiAirShip
RadarJammerShip
AircraftCarrier
Battleship
CruiseMissileShip
Flagship
FloatingHeavyMine
UnderwaterExperimentalGantry
UnderwaterFusionReactor
UnderwaterMetalConverter
UnderwaterEnergyConverter
AdvancedSonar
AdvancedTorpedoLauncher
FloatingMultiweaponPlatform
SeaplaneConstructor
SeaplaneGunship
SeaplaneBomber
SeaplaneTorpedoGunship
SeaplaneFighter
SeaplaneRadarSonar
Unknown
Trait Implementations§
Source§impl Ord for Arm
impl Ord for Arm
Source§impl PartialEq<Arm> for UnitDefKind
impl PartialEq<Arm> for UnitDefKind
Source§impl PartialEq<UnitDefKind> for Arm
impl PartialEq<UnitDefKind> for Arm
Source§impl PartialOrd for Arm
impl PartialOrd for Arm
impl Copy for Arm
impl Eq for Arm
impl StructuralPartialEq for Arm
Auto Trait Implementations§
impl Freeze for Arm
impl RefUnwindSafe for Arm
impl Send for Arm
impl Sync for Arm
impl Unpin for Arm
impl UnwindSafe for Arm
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.