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

Class Variant

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

Source from the content-addressed store, hash-verified

438/// A `variant` interface type
439#[derive(Clone, Debug)]
440pub struct Variant(Handle<TypeVariantIndex>);
441
442impl Variant {
443 pub(crate) fn from(index: TypeVariantIndex, ty: &InstanceType<'_>) -> Self {

Callers 8

liftMethod · 0.70
loadMethod · 0.70
fromMethod · 0.70
valFunction · 0.50
make_variantMethod · 0.50
generateMethod · 0.50
defined_typeMethod · 0.50
arbitrary_valFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected