MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / fmt

Method fmt

crates/cpp/src/lib.rs:200–205  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

198
199impl Display for APIStyle {
200 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
201 match self {
202 APIStyle::Asymmetric => write!(f, "asymmetric"),
203 APIStyle::Symmetric => write!(f, "symmetric"),
204 }
205 }
206}
207
208impl FromStr for APIStyle {

Callers

nothing calls this directly

Calls 1

write_strMethod · 0.80

Tested by

no test coverage detected