pub enum Ability {
Boost,
Decoy,
Shield,
// some variants omitted
}Expand description
Special abilities available to different ship classes.
Variants§
Boost
Fighter and missile only. Applies a 100 m/s² forward acceleration for 2s. Reloads in 10s.
Decoy
Torpedo only. Mimics the radar signature of a Cruiser for 0.5s. Reloads in 10s.
Shield
Cruiser only. Deflects projectiles for 1s. Reloads in 5s.
Trait Implementations§
source§impl PartialEq for Ability
impl PartialEq for Ability
impl Copy for Ability
impl Eq for Ability
impl StructuralEq for Ability
impl StructuralPartialEq for Ability
Auto Trait Implementations§
impl RefUnwindSafe for Ability
impl Send for Ability
impl Sync for Ability
impl Unpin for Ability
impl UnwindSafe for Ability
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