(&mut self, code_point: CodePoint)
| 483 | /// Append a code point at the end of the string. |
| 484 | #[inline] |
| 485 | pub fn push(&mut self, code_point: CodePoint) { |
| 486 | self.push_wtf8(code_point.encode_wtf8(&mut [0; MAX_LEN_UTF8])) |
| 487 | } |
| 488 | |
| 489 | pub fn pop(&mut self) -> Option<CodePoint> { |
| 490 | let ch = self.code_points().next_back()?; |