Home
last modified time | relevance | path

Searched refs:OptionType (Results 1 – 3 of 3) sorted by relevance

/wasmtime-44.0.1/crates/c-api/include/wasmtime/component/types/
H A Dval.hh106 class OptionType { class
107 WASMTIME_CLONE_EQUAL_WRAPPER(OptionType, wasmtime_component_option_type);
353 ValType(OptionType option) { in ValType()
537 const OptionType &option() const { in option()
539 return *OptionType::from_capi(&ty.of.option); in option()
633 inline ValType OptionType::ty() const { in ty()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dtypes.rs490 pub struct OptionType(Handle<TypeOptionIndex>); struct
492 impl OptionType { implementation
494 OptionType(Handle::new(index, ty)) in from()
503 impl PartialEq for OptionType { implementation
509 impl Eq for OptionType {} implementation
728 Option(OptionType),
809 pub fn unwrap_option(&self) -> &OptionType { in unwrap_option() argument
889 InterfaceType::Option(index) => Type::Option(OptionType::from(*index, instance)), in from()
/wasmtime-44.0.1/crates/c-api/src/component/types/
H A Dval.rs293 pub(crate) ty: OptionType,