pub enum Resource {
Show 13 variants
Cpu,
Powergrid,
Calibration,
DroneBay,
DroneBandwidth,
LaunchedDrones,
FighterBay,
FighterTubes,
LightFighterTubes,
SupportFighterTubes,
HeavyFighterTubes,
CargoBay,
ChargeCapacity,
}Expand description
A resource the ship only has so much of.
Variants§
Cpu
CPU.
Powergrid
Powergrid.
Calibration
Calibration, which the rigs take up.
DroneBay
Room in the drone bay.
DroneBandwidth
Bandwidth for the drones in space.
LaunchedDrones
Drones in space at once.
FighterBay
Room in the fighter bay.
FighterTubes
Fighter tubes.
LightFighterTubes
Tubes that take a light squadron.
SupportFighterTubes
Tubes that take a support squadron.
HeavyFighterTubes
Tubes that take a heavy squadron.
CargoBay
Room in the cargo hold.
ChargeCapacity
Room in the module for the charge it holds.
Trait Implementations§
impl Copy for Resource
impl Eq for Resource
impl StructuralPartialEq for Resource
Auto Trait Implementations§
impl Freeze for Resource
impl RefUnwindSafe for Resource
impl Send for Resource
impl Sync for Resource
impl Unpin for Resource
impl UnsafeUnpin for Resource
impl UnwindSafe for Resource
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