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

Method debug_opts

crates/core/src/async_.rs:117–119  ·  view source on GitHub ↗

Intended to be used in the header comment of generated code to help indicate what options were specified.

(&self)

Source from the content-addressed store, hash-verified

115 /// Intended to be used in the header comment of generated code to help
116 /// indicate what options were specified.
117 pub fn debug_opts(&self) -> impl Iterator<Item = String> + '_ {
118 self.async_.iter().map(|opt| opt.to_string())
119 }
120
121 /// Tests whether all `--async` options were used throughout bindings
122 /// generation, returning an error if any were unused.

Callers 1

preprocessMethod · 0.80

Calls 3

mapMethod · 0.80
iterMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected