pub enum DiedEventKillerShip {
Human(ShipType),
Thargoid(ThargoidShip),
Citizen(Citizen),
}
Variants§
Human(ShipType)
When killed by a human ship.
Thargoid(ThargoidShip)
When killed by a Thargoid vessel.
Citizen(Citizen)
When killed by an on-foot combattant.
Trait Implementations§
Source§impl Clone for DiedEventKillerShip
impl Clone for DiedEventKillerShip
Source§fn clone(&self) -> DiedEventKillerShip
fn clone(&self) -> DiedEventKillerShip
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 DiedEventKillerShip
impl Debug for DiedEventKillerShip
Source§impl<'de> Deserialize<'de> for DiedEventKillerShip
impl<'de> Deserialize<'de> for DiedEventKillerShip
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 DiedEventKillerShip
impl PartialEq for DiedEventKillerShip
Source§impl Serialize for DiedEventKillerShip
impl Serialize for DiedEventKillerShip
impl StructuralPartialEq for DiedEventKillerShip
Auto Trait Implementations§
impl Freeze for DiedEventKillerShip
impl RefUnwindSafe for DiedEventKillerShip
impl Send for DiedEventKillerShip
impl Sync for DiedEventKillerShip
impl Unpin for DiedEventKillerShip
impl UnwindSafe for DiedEventKillerShip
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