Returns `true` if all three layers are selected (full download).
(&self)
| 185 | |
| 186 | /// Returns `true` if all three layers are selected (full download). |
| 187 | pub fn is_all(&self) -> bool { |
| 188 | self.layers.contains(&Layer::Graph) |
| 189 | && self.layers.contains(&Layer::Semantic) |
| 190 | && self.layers.contains(&Layer::Content) |
| 191 | } |
| 192 | |
| 193 | /// Returns `true` if no layers are selected. |
| 194 | pub fn is_empty(&self) -> bool { |
no test coverage detected