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

Method fmt

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

Source from the content-addressed store, hash-verified

24
25impl std::fmt::Display for GridFormat {
26 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
27 match self {
28 // important: Should match clap::ValueEnum format
29 GridFormat::Graph => write!(f, "graph"),
30 GridFormat::Lines => write!(f, "lines"),
31 GridFormat::Points => write!(f, "points"),
32 #[cfg(feature = "cxx-bindings")]
33 GridFormat::Cells => write!(f, "cells"),
34 }
35 }
36}
37
38#[derive(Debug, Clone, Copy, PartialEq, Eq, ValueEnum)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected