pub fn build_preview(
lineup: &Lineup,
player: impl Fn(&NflPlayerId) -> Option<SalariedPlayer>,
defense: impl Fn(&TeamAbbr) -> Option<SalariedPlayer>,
avatars: &Avatars,
) -> (Vec<PreviewRow>, i64)Expand description
Preview rows in roster order, plus the total salary spent. Game scores are stripped: nothing has been played from this entry’s point of view.