Home
last modified time | relevance | path

Searched refs:type_ref (Results 1 – 7 of 7) sorted by relevance

/wasmtime-44.0.1/crates/wiggle/generate/src/
H A Dnames.rs38 pub fn type_ref(tref: &TypeRef, lifetime: TokenStream) -> TokenStream { in type_ref() function
47 let pointee_type = type_ref(&pointee, lifetime.clone()); in type_ref()
55 let pointee_type = type_ref(&pointee, lifetime.clone()); in type_ref()
62 Some(ty) => type_ref(ty, lifetime.clone()), in type_ref()
66 Some(ty) => type_ref(ty, lifetime.clone()), in type_ref()
77 .map(|m| type_ref(&m.tref, lifetime.clone())) in type_ref()
H A Dmodule_trait.rs22 let arg_typename = names::type_ref(&arg.tref, quote!()); in define_module_trait()
44 Some(ty) => names::type_ref(ty, quote!()), in define_module_trait()
54 None => names::type_ref(ty, quote!()), in define_module_trait()
H A Dfuncs.rs223 let pointee_type = names::type_ref(ty, anon_lifetime()); in emit()
235 let ty = names::type_ref(ty, anon_lifetime()); in emit()
334 let err_typename = names::type_ref(err_ty.unwrap(), anon_lifetime()); in emit()
H A Dlib.rs41 let abi_typename = names::type_ref(&errtype.abi_type(), anon_lifetime()); in generate()
/wasmtime-44.0.1/crates/wiggle/generate/src/types/
H A Dvariant.rs23 let var_type = names::type_ref(&tref, lifetime.clone()); in define_variant()
34 let varianttype = names::type_ref(tref, lifetime.clone()); in define_variant()
53 let varianttype = names::type_ref(tref, lifetime.clone()); in define_variant()
H A Drecord.rs24 let pointee_type = names::type_ref(&pointee, quote!('a)); in define_struct()
63 let pointee_type = names::type_ref(&pointee, anon_lifetime()); in define_struct()
H A Dmod.rs66 let pointee_type = names::type_ref(pointee, quote!('a)); in define_witx_pointer()
73 let pointee_type = names::type_ref(arr_raw, quote!()); in define_witx_list()