(&mut self)
| 191 | } |
| 192 | |
| 193 | pub fn scroll_up(&mut self) { |
| 194 | if self.scroll_offset > 0 { |
| 195 | self.scroll_offset -= 1; |
| 196 | } |
| 197 | } |
| 198 | |
| 199 | pub fn scroll_down(&mut self, max: u16) { |
| 200 | if self.scroll_offset < max { |
no outgoing calls
no test coverage detected