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