Struct game::challenges::Challenge [−][src]
pub struct Challenge { title: String, pub description: Vec<String>, pub alias: String, pub gameplay: GameplayMode, pub cutscene: Option<fn(_: &mut EventCtx<'_>, _: &App, _: &GameplayMode) -> Box<dyn State<App>>>, }
Fields
title: String
description: Vec<String>
alias: String
gameplay: GameplayMode
cutscene: Option<fn(_: &mut EventCtx<'_>, _: &App, _: &GameplayMode) -> Box<dyn State<App>>>
Implementations
impl Challenge
[src]
impl Challenge
[src]Auto Trait Implementations
impl RefUnwindSafe for Challenge
impl Send for Challenge
impl Sync for Challenge
impl Unpin for Challenge
impl UnwindSafe for Challenge
Blanket Implementations
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,