pub struct LaunchFighterEvent {
pub loadout: FighterLoadout,
pub id: u8,
pub player_controlled: bool,
}
Expand description
Fired when launching a ship launched fighter.
Fields§
§loadout: FighterLoadout
The used layout for the ship launched fighter.
id: u8
The id of the fighter.
player_controlled: bool
Whether the fighter is controlled by the current player.
Trait Implementations§
Source§impl Clone for LaunchFighterEvent
impl Clone for LaunchFighterEvent
Source§fn clone(&self) -> LaunchFighterEvent
fn clone(&self) -> LaunchFighterEvent
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 LaunchFighterEvent
impl Debug for LaunchFighterEvent
Source§impl<'de> Deserialize<'de> for LaunchFighterEvent
impl<'de> Deserialize<'de> for LaunchFighterEvent
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 LaunchFighterEvent
impl PartialEq for LaunchFighterEvent
Source§impl Serialize for LaunchFighterEvent
impl Serialize for LaunchFighterEvent
impl StructuralPartialEq for LaunchFighterEvent
Auto Trait Implementations§
impl Freeze for LaunchFighterEvent
impl RefUnwindSafe for LaunchFighterEvent
impl Send for LaunchFighterEvent
impl Sync for LaunchFighterEvent
impl Unpin for LaunchFighterEvent
impl UnwindSafe for LaunchFighterEvent
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