pub struct OnResearchStartedEvent {
pub last_research: LuaTechnology,
pub name: &'static str,
pub research: LuaTechnology,
pub tick: u32,
}Expand description
Called when a technology research starts.
Fields§
§last_research: LuaTechnology§name: &'static str§research: LuaTechnology§tick: u32Trait Implementations§
Source§impl Clone for OnResearchStartedEvent
impl Clone for OnResearchStartedEvent
Source§fn clone(&self) -> OnResearchStartedEvent
fn clone(&self) -> OnResearchStartedEvent
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 OnResearchStartedEvent
Source§impl Debug for OnResearchStartedEvent
impl Debug for OnResearchStartedEvent
Source§impl Default for OnResearchStartedEvent
impl Default for OnResearchStartedEvent
Source§fn default() -> OnResearchStartedEvent
fn default() -> OnResearchStartedEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnResearchStartedEvent
impl PartialEq for OnResearchStartedEvent
impl StructuralPartialEq for OnResearchStartedEvent
Auto Trait Implementations§
impl Freeze for OnResearchStartedEvent
impl RefUnwindSafe for OnResearchStartedEvent
impl Send for OnResearchStartedEvent
impl Sync for OnResearchStartedEvent
impl Unpin for OnResearchStartedEvent
impl UnsafeUnpin for OnResearchStartedEvent
impl UnwindSafe for OnResearchStartedEvent
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