(&self, f: &mut fmt::Formatter<'_>)
| 302 | |
| 303 | impl fmt::Display for CompactGraphOp { |
| 304 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 305 | match self.path() { |
| 306 | Some(path) => write!(f, "{}({})", self.type_name(), path), |
| 307 | None => write!(f, "{}", self.type_name()), |
| 308 | } |
| 309 | } |
| 310 | } |