Save the current context length (for later restoration)
(&self)
| 128 | |
| 129 | /// Save the current context length (for later restoration) |
| 130 | pub fn mark(&self) -> usize { |
| 131 | self.len() |
| 132 | } |
| 133 | |
| 134 | /// Restore context to a previous mark |
| 135 | pub fn restore(&mut self, mark: usize) { |