pub struct AFMURepairsEvent {
pub module: ShipModule,
pub module_localized: Option<String>,
pub fully_repaired: bool,
pub health: f32,
}
Expand description
Fired whenever the player uses an AFMU to repair another module in their ship.
Fields§
§module: ShipModule
The module that is being repaired by the AFMU.
module_localized: Option<String>
The localized name of the module.
fully_repaired: bool
Whether the target module has been fully repaired.
health: f32
The current health of the module that is being repaired.
Trait Implementations§
Source§impl Clone for AFMURepairsEvent
impl Clone for AFMURepairsEvent
Source§fn clone(&self) -> AFMURepairsEvent
fn clone(&self) -> AFMURepairsEvent
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 AFMURepairsEvent
impl Debug for AFMURepairsEvent
Source§impl<'de> Deserialize<'de> for AFMURepairsEvent
impl<'de> Deserialize<'de> for AFMURepairsEvent
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 PartialEq for AFMURepairsEvent
impl PartialEq for AFMURepairsEvent
Source§impl Serialize for AFMURepairsEvent
impl Serialize for AFMURepairsEvent
impl StructuralPartialEq for AFMURepairsEvent
Auto Trait Implementations§
impl Freeze for AFMURepairsEvent
impl RefUnwindSafe for AFMURepairsEvent
impl Send for AFMURepairsEvent
impl Sync for AFMURepairsEvent
impl Unpin for AFMURepairsEvent
impl UnwindSafe for AFMURepairsEvent
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