Get the SCC ID if this is an SCC element.
(&self)
| 163 | |
| 164 | /// Get the SCC ID if this is an SCC element. |
| 165 | pub fn scc_id(&self) -> Option<SccId> { |
| 166 | match self { |
| 167 | PathElement::Scc { scc } => Some(*scc), |
| 168 | PathElement::Conflict { .. } => None, |
| 169 | } |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | // CONFLICT PATH |
nothing calls this directly
no outgoing calls
no test coverage detected