Whether the array is empty.
(&self)
| 69 | |
| 70 | /// Whether the array is empty. |
| 71 | pub fn is_empty(&self) -> bool { |
| 72 | self.len() == 0 |
| 73 | } |
| 74 | |
| 75 | /// Convert to an owned Vec, copying data if zero-copy. |
| 76 | pub fn to_vec(&self) -> Vec<T> { |
no test coverage detected