(&self, f: &mut fmt::Formatter<'_>)
| 18 | |
| 19 | impl Debug for WtoComponent { |
| 20 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 21 | match self { |
| 22 | WtoComponent::Vertex(v) => write!(f, "{:?}", v), |
| 23 | WtoComponent::Circle(c) => write!(f, "{:?}", c), |
| 24 | } |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | /// Represents a single vertex in CFG |