(&self, frame: &mut Frame)
| 31 | // Reuse Frame grid to print the menu options |
| 32 | impl Drawable for Menu { |
| 33 | fn draw(&self, frame: &mut Frame) { |
| 34 | frame[0][self.selection] = '>'; |
| 35 | for (index, option) in self.options.iter().enumerate() { |
| 36 | for i in 0..option.len() { |
| 37 | frame[i + 1][index] = self.options[index].chars().nth(i).unwrap(); |
| 38 | } |
| 39 | } |
| 40 | } |
| 41 | } |
nothing calls this directly
no outgoing calls
no test coverage detected