(&self, f: &mut std::fmt::Formatter<'_>)
| 86 | |
| 87 | impl std::fmt::Display for GraphTypeVersion { |
| 88 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 89 | write!(f, "{}.{}.{}", self.major, self.minor, self.patch)?; |
| 90 | if let Some(pre) = &self.pre_release { |
| 91 | write!(f, "-{}", pre)?; |
| 92 | } |
| 93 | if let Some(build) = &self.build_metadata { |
| 94 | write!(f, "+{}", build)?; |
| 95 | } |
| 96 | Ok(()) |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | /// Definition of a node type within a graph type |
nothing calls this directly
no outgoing calls
no test coverage detected