(&self, f: &mut std::fmt::Formatter)
| 18 | |
| 19 | impl std::fmt::Display for CliSnappingStrategy { |
| 20 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { |
| 21 | match self { |
| 22 | // important: Should match clap::ValueEnum format |
| 23 | CliSnappingStrategy::ClosestPoint => write!(f, "closest-point"), |
| 24 | CliSnappingStrategy::RegularGrid => write!(f, "regular-grid"), |
| 25 | } |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | /// Convert Geometries to Graphs (and back) |
nothing calls this directly
no outgoing calls
no test coverage detected