Extend the stack with values from an iterator.
(&mut self, iter: impl Iterator<Item = Option<PyStackRef>>)
| 421 | |
| 422 | /// Extend the stack with values from an iterator. |
| 423 | fn stack_extend(&mut self, iter: impl Iterator<Item = Option<PyStackRef>>) { |
| 424 | for val in iter { |
| 425 | self.stack_push(val); |
| 426 | } |
| 427 | } |
| 428 | } |
| 429 | |
| 430 | /// Iterator for draining stack elements in forward order. |
no test coverage detected