Checks whether the queue has no items.
(&self)
| 198 | |
| 199 | /// Checks whether the queue has no items. |
| 200 | pub fn is_empty(&self) -> bool { |
| 201 | self.data.is_empty() |
| 202 | } |
| 203 | |
| 204 | /// Removes all entries from the queue. |
| 205 | pub fn clear(&mut self) { |
no outgoing calls
no test coverage detected