pub enum BountyEvent {
Normal(BountyEventNormal),
Skimmer(BountyEventSkimmer),
}
Expand description
Fired when the player takes on a bounty.
Variants§
Normal(BountyEventNormal)
For when the player takes on a normal (ship) target.
Skimmer(BountyEventSkimmer)
For when the player takes on a Skimmer drone as target.
Trait Implementations§
Source§impl Clone for BountyEvent
impl Clone for BountyEvent
Source§fn clone(&self) -> BountyEvent
fn clone(&self) -> BountyEvent
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 BountyEvent
impl Debug for BountyEvent
Source§impl<'de> Deserialize<'de> for BountyEvent
impl<'de> Deserialize<'de> for BountyEvent
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 BountyEvent
impl PartialEq for BountyEvent
Source§impl Serialize for BountyEvent
impl Serialize for BountyEvent
impl StructuralPartialEq for BountyEvent
Auto Trait Implementations§
impl Freeze for BountyEvent
impl RefUnwindSafe for BountyEvent
impl Send for BountyEvent
impl Sync for BountyEvent
impl Unpin for BountyEvent
impl UnwindSafe for BountyEvent
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