(&mut self, position: NavigationPosition, command: &'static str)
| 146 | |
| 147 | |
| 148 | fn push(&mut self, position: NavigationPosition, command: &'static str) { |
| 149 | self.position_stack.push(position); |
| 150 | self.command_stack.push(command); |
| 151 | } |
| 152 | |
| 153 | fn pop(&mut self) -> Option<(NavigationPosition, &'static str)> { |
| 154 | assert_eq!(self.position_stack.len(), self.command_stack.len()); |
no outgoing calls