(&self)
| 906 | /// would always return the original WTF-8 string. |
| 907 | #[inline] |
| 908 | pub fn encode_wide(&self) -> EncodeWide<'_> { |
| 909 | EncodeWide { |
| 910 | code_points: self.code_points(), |
| 911 | extra: 0, |
| 912 | } |
| 913 | } |
| 914 | |
| 915 | pub const fn chunks(&self) -> Wtf8Chunks<'_> { |
| 916 | Wtf8Chunks { wtf8: self } |
no test coverage detected