(self)
| 814 | } |
| 815 | |
| 816 | fn render(self) -> Option<Line> { |
| 817 | match self.0 { |
| 818 | 0 => None, |
| 819 | 1 => Some(Line::new().push(Instruction::Value { |
| 820 | value: "1 additional opaque attachment".to_owned(), |
| 821 | style: Style::new(), |
| 822 | })), |
| 823 | n => Some(Line::new().push(Instruction::Value { |
| 824 | value: format!("{n} additional opaque attachments"), |
| 825 | style: Style::new(), |
| 826 | })), |
| 827 | } |
| 828 | } |
| 829 | } |
| 830 | |
| 831 | #[cfg_attr( |
no test coverage detected