Get all ranges involving AI.
(&self)
| 681 | |
| 682 | /// Get all ranges involving AI. |
| 683 | pub fn ai_ranges(&self) -> Vec<&CreditRange> { |
| 684 | self.ranges |
| 685 | .iter() |
| 686 | .filter(|r| r.credit.involves_ai()) |
| 687 | .collect() |
| 688 | } |
| 689 | |
| 690 | /// Get all ranges that are purely human. |
| 691 | pub fn human_ranges(&self) -> Vec<&CreditRange> { |