Get all ranges that are purely human.
(&self)
| 689 | |
| 690 | /// Get all ranges that are purely human. |
| 691 | pub fn human_ranges(&self) -> Vec<&CreditRange> { |
| 692 | self.ranges |
| 693 | .iter() |
| 694 | .filter(|r| r.credit.credit_type.is_human()) |
| 695 | .collect() |
| 696 | } |
| 697 | |
| 698 | /// Iterate over all lines with their credits. |
| 699 | pub fn iter_lines(&self) -> impl Iterator<Item = (u64, &Credit)> { |