Returns whether the UTF-8 width of the character at this position is zero.
(&self)
| 61 | /// Returns whether the UTF-8 width of the character at this position |
| 62 | /// is zero. |
| 63 | pub fn is_empty(&self) -> bool { |
| 64 | self.len == 0 |
| 65 | } |
| 66 | |
| 67 | /// Returns the byte offset of this position. |
| 68 | pub fn pos(&self) -> usize { |
no outgoing calls
no test coverage detected