Struct game::debug::routes::RouteExplorer [−][src]
pub struct RouteExplorer { panel: Panel, start: TripEndpoint, goal: Option<(TripEndpoint, bool, Drawable)>, }
See how live-tuned routing parameters affect a single request.
Fields
panel: Panel
start: TripEndpoint
goal: Option<(TripEndpoint, bool, Drawable)>
Implementations
impl RouteExplorer
[src]
impl RouteExplorer
[src]pub fn new_state(
ctx: &mut EventCtx<'_>,
app: &App,
start: TripEndpoint
) -> Box<dyn State<App>>
[src]
ctx: &mut EventCtx<'_>,
app: &App,
start: TripEndpoint
) -> Box<dyn State<App>>
fn recalc_paths(&mut self, ctx: &mut EventCtx<'_>, app: &App)
[src]
Trait Implementations
impl State<App> for RouteExplorer
[src]
impl State<App> for RouteExplorer
[src]fn event(&mut self, ctx: &mut EventCtx<'_>, app: &mut App) -> Transition<App>
[src]
fn draw(&self, g: &mut GfxCtx<'_>, app: &App)
[src]
pub fn draw_baselayer(&self) -> DrawBaselayer
pub fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Auto Trait Implementations
impl !RefUnwindSafe for RouteExplorer
impl !Send for RouteExplorer
impl !Sync for RouteExplorer
impl Unpin for RouteExplorer
impl !UnwindSafe for RouteExplorer
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>,