Home
last modified time | relevance | path

Searched refs:VariantType (Results 1 – 2 of 2) sorted by relevance

/wasmtime-44.0.1/crates/c-api/include/wasmtime/component/types/
H A Dval.hh67 class VariantType { class
68 WASMTIME_CLONE_EQUAL_WRAPPER(VariantType, wasmtime_component_variant_type);
341 ValType(VariantType variant) { in ValType()
525 const VariantType &variant() const { in variant()
527 return *VariantType::from_capi(&ty.of.variant); in variant()
618 VariantType::case_nth(size_t nth) const { in case_nth()
/wasmtime-44.0.1/crates/environ/src/component/
H A Dtypes_builder.rs15 ComponentValType, RecordType, ResourceId, TupleType, VariantType,
535 fn variant_type(&mut self, types: TypesRef<'_>, ty: &VariantType) -> Result<TypeVariantIndex> { in variant_type()