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

Method types

crates/wasmtime/src/runtime/component/types.rs:414–419  ·  view source on GitHub ↗

Retrieve the types of the fields of this `tuple` in declaration order.

(&self)

Source from the content-addressed store, hash-verified

412
413 /// Retrieve the types of the fields of this `tuple` in declaration order.
414 pub fn types(&self) -> impl ExactSizeIterator<Item = Type> + '_ {
415 self.0.types[self.0.index]
416 .types
417 .iter()
418 .map(|ty| Type::from(ty, &self.0.instance()))
419 }
420}
421
422impl PartialEq for Tuple {

Callers 15

instance_typeMethod · 0.45
newMethod · 0.45
typecheckMethod · 0.45
prepare_callFunction · 0.45
call_async_lowerMethod · 0.45
newMethod · 0.45
new_without_reallocMethod · 0.45
copyMethod · 0.45
check_boundsMethod · 0.45
guest_writeMethod · 0.45
guest_readMethod · 0.45

Calls 4

fromFunction · 0.85
mapMethod · 0.45
iterMethod · 0.45
instanceMethod · 0.45

Tested by

no test coverage detected