Struct game::sandbox::SandboxControls [−][src]
pub struct SandboxControls { pub common: Option<CommonState>, route_preview: Option<RoutePreview>, tool_panel: Option<Panel>, pub time_panel: Option<TimePanel>, minimap: Option<Minimap<App, MinimapController>>, }
Fields
common: Option<CommonState>
route_preview: Option<RoutePreview>
tool_panel: Option<Panel>
time_panel: Option<TimePanel>
minimap: Option<Minimap<App, MinimapController>>
Implementations
impl SandboxControls
[src]
impl SandboxControls
[src]pub fn new(
ctx: &mut EventCtx<'_>,
app: &App,
gameplay: &dyn GameplayState
) -> SandboxControls
[src]
ctx: &mut EventCtx<'_>,
app: &App,
gameplay: &dyn GameplayState
) -> SandboxControls
fn recreate_panels(&mut self, ctx: &mut EventCtx<'_>, app: &App)
[src]
Auto Trait Implementations
impl !RefUnwindSafe for SandboxControls
impl !Send for SandboxControls
impl !Sync for SandboxControls
impl Unpin for SandboxControls
impl !UnwindSafe for SandboxControls
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>,