pub enum InternalModule {
Show 55 variants
FrameShiftDrive,
FrameShiftDriveOvercharged,
PowerPlant,
ModuleReinforcement,
GuardianModuleReinforcement,
GuardianHullReinforcement,
GuardianShieldReinforcement,
MetaAlloyHullReinforcement,
HullReinforcement,
StandardDockingComputer,
AdvancedDockingComputer,
CollectorLimpetController,
DecontaminationLimpetController,
RepairLimpetController,
ProspectorLimpetController,
FuelTransferLimpetController,
ReconLimpetController,
HatchBreakerLimpetController,
ResearchLimpetController,
MiningMultiLimpetController,
XenoMultiLimpetController,
RescueMultiLimpetController,
OperationsMultiLimpetController,
UniversalMultiLimpetController,
ExperimentalWeaponStabilizer,
CargoRack,
AntiCorrosionCargoRack,
SupercruiseAssist,
Thrusters,
EnhancedPerformanceThrusters,
FuelScoop,
LifeSupport,
ShieldGenerator,
BiWeaveShieldGenerator,
PrismaticShieldGenerator,
ShieldCellBank,
GuardianFSDBooster,
DetailedSurfaceScanner,
PlanetaryVehicleHangar,
PowerDistributor,
Sensors,
AFMU,
FighterHangar,
PassengerCabin,
FuelTank,
FSDInterdictor,
PlanetApproachSuite,
Refinery,
GuardianHybridPowerPlant,
GuardianHybridPowerDistributor,
BasicDiscoveryScanner,
IntermediateDiscoveryScanner,
AdvancedDiscoveryScanner,
Armor(ArmorModule),
Unknown(String),
}
Expand description
The kind of internal module.
Variants§
FrameShiftDrive
FrameShiftDriveOvercharged
PowerPlant
ModuleReinforcement
GuardianModuleReinforcement
GuardianHullReinforcement
GuardianShieldReinforcement
MetaAlloyHullReinforcement
HullReinforcement
StandardDockingComputer
AdvancedDockingComputer
CollectorLimpetController
DecontaminationLimpetController
RepairLimpetController
ProspectorLimpetController
FuelTransferLimpetController
ReconLimpetController
HatchBreakerLimpetController
ResearchLimpetController
MiningMultiLimpetController
XenoMultiLimpetController
RescueMultiLimpetController
OperationsMultiLimpetController
UniversalMultiLimpetController
ExperimentalWeaponStabilizer
CargoRack
AntiCorrosionCargoRack
SupercruiseAssist
Thrusters
EnhancedPerformanceThrusters
FuelScoop
LifeSupport
ShieldGenerator
BiWeaveShieldGenerator
PrismaticShieldGenerator
ShieldCellBank
GuardianFSDBooster
DetailedSurfaceScanner
PlanetaryVehicleHangar
PowerDistributor
Sensors
AFMU
FighterHangar
PassengerCabin
FuelTank
FSDInterdictor
PlanetApproachSuite
Refinery
GuardianHybridPowerPlant
GuardianHybridPowerDistributor
BasicDiscoveryScanner
IntermediateDiscoveryScanner
AdvancedDiscoveryScanner
Armor(ArmorModule)
Unknown(String)
Available on crate feature
allow-unknown
only.Implementations§
Source§impl InternalModule
impl InternalModule
Sourcepub fn internal_type(&self) -> InternalType
pub fn internal_type(&self) -> InternalType
Returns whether the module is a core internal or an optional internal.
Sourcepub fn is_core(&self) -> bool
pub fn is_core(&self) -> bool
Returns true if the module is a core internal like engines or powerplant.
Sourcepub fn is_optional(&self) -> bool
pub fn is_optional(&self) -> bool
Returns true if the module is an optional internal like AFMUs and shield generators.
Sourcepub fn is_powerplay_module(&self) -> bool
pub fn is_powerplay_module(&self) -> bool
Whether the module is a module that is unlocked through powerplay.
Sourcepub fn is_guardian_module(&self) -> bool
pub fn is_guardian_module(&self) -> bool
Whether the module is a module that is unlocked using guardian parts at a guardian technology broker.
Trait Implementations§
Source§impl Clone for InternalModule
impl Clone for InternalModule
Source§fn clone(&self) -> InternalModule
fn clone(&self) -> InternalModule
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InternalModule
impl Debug for InternalModule
Source§impl<'de> Deserialize<'de> for InternalModule
impl<'de> Deserialize<'de> for InternalModule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for InternalModule
impl Display for InternalModule
Source§impl FromStr for InternalModule
impl FromStr for InternalModule
Source§impl PartialEq for InternalModule
impl PartialEq for InternalModule
Source§impl Serialize for InternalModule
impl Serialize for InternalModule
impl StructuralPartialEq for InternalModule
Auto Trait Implementations§
impl Freeze for InternalModule
impl RefUnwindSafe for InternalModule
impl Send for InternalModule
impl Sync for InternalModule
impl Unpin for InternalModule
impl UnwindSafe for InternalModule
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