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

Method fmt

tools/snap.rs:21–27  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter)

Source from the content-addressed store, hash-verified

19
20impl std::fmt::Display for InputFormat {
21 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
22 match self {
23 // important: Should match clap::ValueEnum format
24 InputFormat::Wkt => write!(f, "wkt"),
25 InputFormat::Tgf => write!(f, "tgf"),
26 }
27 }
28}
29
30#[derive(Debug, Clone, ValueEnum)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected