subtr-actor 0.5.1

Rocket League replay transformer
Documentation
use crate::*;

use super::*;

impl StatFieldProvider for RushStats {
    fn visit_stat_fields(&self, visitor: &mut dyn FnMut(ExportedStat)) {
        visitor(ExportedStat::unsigned(
            "rush",
            "team_zero_count",
            StatUnit::Count,
            self.team_zero_count,
        ));
        visitor(ExportedStat::unsigned(
            "rush",
            "team_zero_two_v_one_count",
            StatUnit::Count,
            self.team_zero_two_v_one_count,
        ));
        visitor(ExportedStat::unsigned(
            "rush",
            "team_zero_two_v_two_count",
            StatUnit::Count,
            self.team_zero_two_v_two_count,
        ));
        visitor(ExportedStat::unsigned(
            "rush",
            "team_zero_two_v_three_count",
            StatUnit::Count,
            self.team_zero_two_v_three_count,
        ));
        visitor(ExportedStat::unsigned(
            "rush",
            "team_zero_three_v_one_count",
            StatUnit::Count,
            self.team_zero_three_v_one_count,
        ));
        visitor(ExportedStat::unsigned(
            "rush",
            "team_zero_three_v_two_count",
            StatUnit::Count,
            self.team_zero_three_v_two_count,
        ));
        visitor(ExportedStat::unsigned(
            "rush",
            "team_zero_three_v_three_count",
            StatUnit::Count,
            self.team_zero_three_v_three_count,
        ));
        visitor(ExportedStat::unsigned(
            "rush",
            "team_one_count",
            StatUnit::Count,
            self.team_one_count,
        ));
        visitor(ExportedStat::unsigned(
            "rush",
            "team_one_two_v_one_count",
            StatUnit::Count,
            self.team_one_two_v_one_count,
        ));
        visitor(ExportedStat::unsigned(
            "rush",
            "team_one_two_v_two_count",
            StatUnit::Count,
            self.team_one_two_v_two_count,
        ));
        visitor(ExportedStat::unsigned(
            "rush",
            "team_one_two_v_three_count",
            StatUnit::Count,
            self.team_one_two_v_three_count,
        ));
        visitor(ExportedStat::unsigned(
            "rush",
            "team_one_three_v_one_count",
            StatUnit::Count,
            self.team_one_three_v_one_count,
        ));
        visitor(ExportedStat::unsigned(
            "rush",
            "team_one_three_v_two_count",
            StatUnit::Count,
            self.team_one_three_v_two_count,
        ));
        visitor(ExportedStat::unsigned(
            "rush",
            "team_one_three_v_three_count",
            StatUnit::Count,
            self.team_one_three_v_three_count,
        ));
    }
}