Struct game::debug::routes::PathCostDebugger [−][src]
pub struct PathCostDebugger { draw_path: Drawable, costs: HashMap<DirectedRoadID, Duration>, tooltip: Option<Text>, panel: Panel, }
Evaluate why an alternative path wasn’t chosen, by showing the cost to reach every road from one start.
Fields
draw_path: Drawable
costs: HashMap<DirectedRoadID, Duration>
tooltip: Option<Text>
panel: Panel
Implementations
impl PathCostDebugger
[src]
impl PathCostDebugger
[src]Trait Implementations
impl State<App> for PathCostDebugger
[src]
impl State<App> for PathCostDebugger
[src]fn event(&mut self, ctx: &mut EventCtx<'_>, app: &mut App) -> Transition<App>
[src]
fn draw(&self, g: &mut GfxCtx<'_>, _: &App)
[src]
pub fn draw_baselayer(&self) -> DrawBaselayer
pub fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Auto Trait Implementations
impl !RefUnwindSafe for PathCostDebugger
impl !Send for PathCostDebugger
impl !Sync for PathCostDebugger
impl Unpin for PathCostDebugger
impl !UnwindSafe for PathCostDebugger
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>,