pub struct OnRocketLaunchedEvent {
pub name: &'static str,
pub rocket: LuaEntity,
pub rocket_silo: LuaEntity,
pub tick: u32,
}Expand description
Called when a rocket finishes ascending. (Triggers listening for finished rocket launch past 2.0 have been moved to ‘on_cargo_pod_finished_ascending’ as rocket and cargo pod are two separate entities)
Fields§
§name: &'static str§rocket: LuaEntity§rocket_silo: LuaEntity§tick: u32Trait Implementations§
Source§impl Clone for OnRocketLaunchedEvent
impl Clone for OnRocketLaunchedEvent
Source§fn clone(&self) -> OnRocketLaunchedEvent
fn clone(&self) -> OnRocketLaunchedEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OnRocketLaunchedEvent
Source§impl Debug for OnRocketLaunchedEvent
impl Debug for OnRocketLaunchedEvent
Source§impl Default for OnRocketLaunchedEvent
impl Default for OnRocketLaunchedEvent
Source§fn default() -> OnRocketLaunchedEvent
fn default() -> OnRocketLaunchedEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnRocketLaunchedEvent
impl PartialEq for OnRocketLaunchedEvent
impl StructuralPartialEq for OnRocketLaunchedEvent
Auto Trait Implementations§
impl Freeze for OnRocketLaunchedEvent
impl RefUnwindSafe for OnRocketLaunchedEvent
impl Send for OnRocketLaunchedEvent
impl Sync for OnRocketLaunchedEvent
impl Unpin for OnRocketLaunchedEvent
impl UnsafeUnpin for OnRocketLaunchedEvent
impl UnwindSafe for OnRocketLaunchedEvent
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