Returns the character at this position. If this position is just before or after the input, then an absent character is returned.
(&self)
| 45 | /// If this position is just before or after the input, then an absent |
| 46 | /// character is returned. |
| 47 | pub fn char(&self) -> Char { |
| 48 | self.c |
| 49 | } |
| 50 | |
| 51 | /// Returns the byte at this position. |
| 52 | pub fn byte(&self) -> Option<u8> { |