game::sandbox::dashboards::trip_problems

Trait TripProblemFilter

Source
pub trait TripProblemFilter {
    // Required methods
    fn includes_mode(&self, mode: &TripMode) -> bool;
    fn include_no_changes(&self) -> bool;

    // Provided methods
    fn trip_problems(
        &self,
        app: &App,
        problem_type: ProblemType,
    ) -> Vec<(TripID, Duration, isize)> { ... }
    fn finished_trip_count(&self, app: &App) -> usize { ... }
}

Required Methods§

Provided Methods§

Source

fn trip_problems( &self, app: &App, problem_type: ProblemType, ) -> Vec<(TripID, Duration, isize)>

Source

fn finished_trip_count(&self, app: &App) -> usize

Implementors§

Source§

impl TripProblemFilter for game::sandbox::dashboards::risks::Filter

Source§

impl TripProblemFilter for game::sandbox::dashboards::travel_times::Filter