MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / flags_names

Method flags_names

crates/wasmtime/src/runtime/wave/component.rs:94–99  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

92 }
93
94 fn flags_names(&self) -> Box<dyn Iterator<Item = Cow<'_, str>> + '_> {
95 let Self::Flags(flags) = self else {
96 return Box::new(std::iter::empty());
97 };
98 Box::new(flags.names().map(Into::into))
99 }
100}
101
102macro_rules! impl_primitives {

Callers

nothing calls this directly

Calls 4

namesMethod · 0.80
newFunction · 0.50
emptyFunction · 0.50
mapMethod · 0.45

Tested by

no test coverage detected