MCPcopy Create free account
hub / github.com/Notgnoshi/generative / fmt

Method fmt

tools/geom2graph.rs:20–26  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter)

Source from the content-addressed store, hash-verified

18
19impl 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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected