Extract as node if possible
(&self)
| 284 | |
| 285 | /// Extract as node if possible |
| 286 | pub fn as_node(&self) -> Option<&Node> { |
| 287 | match self { |
| 288 | Value::Node(n) => Some(n), |
| 289 | _ => None, |
| 290 | } |
| 291 | } |
| 292 | |
| 293 | /// Extract as edge if possible |
| 294 | pub fn as_edge(&self) -> Option<&Edge> { |
no outgoing calls
no test coverage detected