Lines Matching defs:byte
16 byte: Option<u8>,
28 self.c.is_none() && self.byte.is_none()
39 /// Returns the byte at this position.
40 pub fn byte(&self) -> Option<u8> {
41 self.byte
55 /// Returns the byte offset of this position.
60 /// Returns the byte offset of the next position in the input.
68 /// Return an encoding of the position at byte offset `i`.
160 InputAt { pos: self.len(), c: None.into(), byte: None, len: 0 }
163 InputAt { pos: i, c, byte: None, len: c.len_utf8() }
232 /// Return a new byte-based input reader for the given string.
249 InputAt { pos: self.len(), c: None.into(), byte: None, len: 0 }
254 byte: self.get(i).cloned(),
383 /// Returns true iff the byte is a word byte.
385 /// If the byte is absent, then false is returned.