Returns true iff the byte is a word byte. If the byte is absent, then false is returned.
(self)
| 378 | /// |
| 379 | /// If the byte is absent, then false is returned. |
| 380 | pub fn is_word_byte(self) -> bool { |
| 381 | match char::from_u32(self.0) { |
| 382 | Some(c) if c <= '\u{7F}' => syntax::is_word_byte(c as u8), |
| 383 | None | Some(_) => false, |
| 384 | } |
| 385 | } |
| 386 | } |
| 387 | |
| 388 | impl From<char> for Char { |
no test coverage detected