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

Method fmt

generative/attractor.rs:18–25  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter)

Source from the content-addressed store, hash-verified

16
17impl std::fmt::Display for OutputFormat {
18 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
19 match self {
20 // important: Should match clap::ValueEnum format
21 OutputFormat::Points => write!(f, "points"),
22 OutputFormat::Line => write!(f, "line"),
23 OutputFormat::Image => write!(f, "image"),
24 }
25 }
26}
27
28pub struct AttractorFormatter {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected