(&self, pat: CodePoint)
| 1130 | } |
| 1131 | |
| 1132 | pub fn contains_code_point(&self, pat: CodePoint) -> bool { |
| 1133 | self.bytes |
| 1134 | .contains_str(pat.encode_wtf8(&mut [0; MAX_LEN_UTF8])) |
| 1135 | } |
| 1136 | |
| 1137 | pub fn get(&self, range: impl ops::RangeBounds<usize>) -> Option<&Self> { |
| 1138 | let start = match range.start_bound() { |
no test coverage detected