pub enum InternalModule {
Show 62 variants
FrameShiftDrive,
FrameShiftDriveOvercharged,
FrameShiftDriveOverchargedMkII,
PowerPlant,
ModuleReinforcement,
GuardianModuleReinforcement,
GuardianHullReinforcement,
GuardianShieldReinforcement,
MetaAlloyHullReinforcement,
HullReinforcement,
StandardDockingComputer,
AdvancedDockingComputer,
CollectorLimpetController,
DecontaminationLimpetController,
RepairLimpetController,
ProspectorLimpetController,
FuelTransferLimpetController,
ReconLimpetController,
HatchBreakerLimpetController,
ResearchLimpetController,
MiningMultiLimpetController,
MiningMultiLimpetControllerMkII,
XenoMultiLimpetController,
RescueMultiLimpetController,
OperationsMultiLimpetController,
UniversalMultiLimpetController,
ExperimentalWeaponStabilizer,
CargoRack,
LargeCargoRackMkII,
AntiCorrosionCargoRack,
SupercruiseAssist,
Thrusters,
EnhancedPerformanceThrusters,
MkIIAgileBoostThrusters,
GravityOptimisedThrustersMkII,
FuelScoop,
LifeSupport,
ShieldGenerator,
BiWeaveShieldGenerator,
PrismaticShieldGenerator,
ShieldCellBank,
GuardianFSDBooster,
DetailedSurfaceScanner,
PlanetaryVehicleHangar,
PowerDistributor,
Sensors,
AFMU,
FighterHangar,
MkIIVesselHangar,
PassengerCabin,
MkIIPassengerCabin,
FuelTank,
FSDInterdictor,
PlanetApproachSuite,
Refinery,
GuardianHybridPowerPlant,
GuardianHybridPowerDistributor,
BasicDiscoveryScanner,
IntermediateDiscoveryScanner,
AdvancedDiscoveryScanner,
Armor(ArmorModule),
Unknown(String),
}Expand description
The kind of internal module.
Variants§
FrameShiftDrive
FrameShiftDriveOvercharged
FrameShiftDriveOverchargedMkII
Mk II SCO Frame Shift Drive, exclusive to Caspian Explorer
PowerPlant
ModuleReinforcement
GuardianModuleReinforcement
GuardianHullReinforcement
GuardianShieldReinforcement
MetaAlloyHullReinforcement
HullReinforcement
StandardDockingComputer
AdvancedDockingComputer
CollectorLimpetController
DecontaminationLimpetController
RepairLimpetController
ProspectorLimpetController
FuelTransferLimpetController
ReconLimpetController
HatchBreakerLimpetController
ResearchLimpetController
MiningMultiLimpetController
MiningMultiLimpetControllerMkII
Mk II Mining Multi-Limpet Controller, exclusive to Type-11 Prospector
XenoMultiLimpetController
RescueMultiLimpetController
OperationsMultiLimpetController
UniversalMultiLimpetController
ExperimentalWeaponStabilizer
CargoRack
LargeCargoRackMkII
Mk II Large Cargo Rack, exclusive to Panther Clipper MkII
AntiCorrosionCargoRack
SupercruiseAssist
Thrusters
EnhancedPerformanceThrusters
MkIIAgileBoostThrusters
Mk II Agile Boost Thrusters, exclusive to Kestrel Mk II
GravityOptimisedThrustersMkII
Mk II Gravity Optimised Thrusters, exclusive to Panther Clipper MkII
FuelScoop
LifeSupport
ShieldGenerator
BiWeaveShieldGenerator
PrismaticShieldGenerator
ShieldCellBank
GuardianFSDBooster
DetailedSurfaceScanner
PlanetaryVehicleHangar
PowerDistributor
Sensors
AFMU
FighterHangar
MkIIVesselHangar
PassengerCabin
MkIIPassengerCabin
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 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 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§fn eq(&self, other: &InternalModule) -> bool
fn eq(&self, other: &InternalModule) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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