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

Method fmt

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

Source from the content-addressed store, hash-verified

25
26impl std::fmt::Display for StreamlineKind {
27 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
28 match self {
29 // important: Should match clap::ValueEnum format
30 StreamlineKind::PerVertex => write!(f, "per-vertex"),
31 StreamlineKind::PerCentroid => write!(f, "per-centroid"),
32 }
33 }
34}
35
36/// Generate vector field streamlines for the given geometries

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected