Checks if the [Span] has no length.
(&self)
| 58 | |
| 59 | /// Checks if the [Span] has no length. |
| 60 | pub const fn is_empty(&self) -> bool { |
| 61 | self.start.0 == self.end.0 |
| 62 | } |
| 63 | |
| 64 | /// Returns the length of the [Span]. |
| 65 | pub fn len(&self) -> u32 { |
no outgoing calls