Returns the capacity of the buffer
(&self)
| 60 | |
| 61 | /// Returns the capacity of the buffer |
| 62 | pub fn capacity(&self) -> usize { |
| 63 | self.capacity |
| 64 | } |
| 65 | |
| 66 | /// Returns `true` if the buffer is empty |
| 67 | pub fn is_empty(&self) -> bool { |
nothing calls this directly
no outgoing calls
no test coverage detected