Checks if this buffer is empty or not.
(&self)
| 70 | |
| 71 | /// Checks if this buffer is empty or not. |
| 72 | pub fn is_empty(&self) -> bool { |
| 73 | self.line.is_empty() |
| 74 | } |
| 75 | |
| 76 | /// Gets a view on the underlying bytes held by this buffer. |
| 77 | /// |
no outgoing calls