pub struct OnResearchMovedEvent {
pub force: LuaForce,
pub name: &'static str,
pub player_index: u32,
pub tick: u32,
}Expand description
Called when research is moved forwards or backwards in the research queue.
Fields§
§force: LuaForce§name: &'static str§player_index: u32§tick: u32Trait Implementations§
Source§impl Clone for OnResearchMovedEvent
impl Clone for OnResearchMovedEvent
Source§fn clone(&self) -> OnResearchMovedEvent
fn clone(&self) -> OnResearchMovedEvent
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 OnResearchMovedEvent
Source§impl Debug for OnResearchMovedEvent
impl Debug for OnResearchMovedEvent
Source§impl Default for OnResearchMovedEvent
impl Default for OnResearchMovedEvent
Source§fn default() -> OnResearchMovedEvent
fn default() -> OnResearchMovedEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnResearchMovedEvent
impl PartialEq for OnResearchMovedEvent
impl StructuralPartialEq for OnResearchMovedEvent
Auto Trait Implementations§
impl Freeze for OnResearchMovedEvent
impl RefUnwindSafe for OnResearchMovedEvent
impl Send for OnResearchMovedEvent
impl Sync for OnResearchMovedEvent
impl Unpin for OnResearchMovedEvent
impl UnsafeUnpin for OnResearchMovedEvent
impl UnwindSafe for OnResearchMovedEvent
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