Lines Matching refs:component

10     instance_pre: wasmtime::component::InstancePre<T>,
28 instance_pre: wasmtime::component::InstancePre<_T>, in new()
36 pub fn instance_pre(&self) -> &wasmtime::component::InstancePre<_T> { in instance_pre()
113 _instance_pre: &wasmtime::component::InstancePre<_T>, in new()
115 let _component = _instance_pre.component(); in new()
130 instance: &wasmtime::component::Instance, in load()
143 component: &wasmtime::component::Component, in instantiate()
144 linker: &wasmtime::component::Linker<_T>, in instantiate()
146 let pre = linker.instantiate_pre(component)?; in instantiate()
153 instance: &wasmtime::component::Instance, in new()
162 component: &wasmtime::component::Component, in instantiate_async()
163 linker: &wasmtime::component::Linker<_T>, in instantiate_async()
168 let pre = linker.instantiate_pre(component)?; in instantiate_async()
172 linker: &mut wasmtime::component::Linker<T>, in add_to_linker()
193 use wasmtime::component::__internal::Box;
194 #[derive(wasmtime::component::ComponentType)]
195 #[derive(wasmtime::component::Lift)]
196 #[derive(wasmtime::component::Lower)]
197 #[component(enum)]
201 #[component(name = "a")]
212 assert!(1 == < E1 as wasmtime::component::ComponentType >::SIZE32);
213 assert!(1 == < E1 as wasmtime::component::ComponentType >::ALIGN32);
215 #[derive(wasmtime::component::ComponentType)]
216 #[derive(wasmtime::component::Lift)]
217 #[derive(wasmtime::component::Lower)]
218 #[component(record)]
227 assert!(0 == < Empty as wasmtime::component::ComponentType >::SIZE32);
228 assert!(1 == < Empty as wasmtime::component::ComponentType >::ALIGN32);
230 #[derive(wasmtime::component::ComponentType)]
231 #[derive(wasmtime::component::Lift)]
232 #[derive(wasmtime::component::Lower)]
233 #[component(variant)]
236 #[component(name = "a")]
238 #[component(name = "c")]
240 #[component(name = "d")]
241 D(wasmtime::component::__internal::String),
242 #[component(name = "e")]
244 #[component(name = "f")]
246 #[component(name = "g")]
262 assert!(12 == < V1 as wasmtime::component::ComponentType >::SIZE32);
263 assert!(4 == < V1 as wasmtime::component::ComponentType >::ALIGN32);
265 #[derive(wasmtime::component::ComponentType)]
266 #[derive(wasmtime::component::Lift)]
267 #[derive(wasmtime::component::Lower)]
268 #[component(variant)]
271 #[component(name = "a")]
273 #[component(name = "b")]
285 assert!(8 == < Casts1 as wasmtime::component::ComponentType >::SIZE32);
286 assert!(4 == < Casts1 as wasmtime::component::ComponentType >::ALIGN32);
288 #[derive(wasmtime::component::ComponentType)]
289 #[derive(wasmtime::component::Lift)]
290 #[derive(wasmtime::component::Lower)]
291 #[component(variant)]
294 #[component(name = "a")]
296 #[component(name = "b")]
308 assert!(16 == < Casts2 as wasmtime::component::ComponentType >::SIZE32);
309 assert!(8 == < Casts2 as wasmtime::component::ComponentType >::ALIGN32);
311 #[derive(wasmtime::component::ComponentType)]
312 #[derive(wasmtime::component::Lift)]
313 #[derive(wasmtime::component::Lower)]
314 #[component(variant)]
317 #[component(name = "a")]
319 #[component(name = "b")]
331 assert!(16 == < Casts3 as wasmtime::component::ComponentType >::SIZE32);
332 assert!(8 == < Casts3 as wasmtime::component::ComponentType >::ALIGN32);
334 #[derive(wasmtime::component::ComponentType)]
335 #[derive(wasmtime::component::Lift)]
336 #[derive(wasmtime::component::Lower)]
337 #[component(variant)]
340 #[component(name = "a")]
342 #[component(name = "b")]
354 assert!(16 == < Casts4 as wasmtime::component::ComponentType >::SIZE32);
355 assert!(8 == < Casts4 as wasmtime::component::ComponentType >::ALIGN32);
357 #[derive(wasmtime::component::ComponentType)]
358 #[derive(wasmtime::component::Lift)]
359 #[derive(wasmtime::component::Lower)]
360 #[component(variant)]
363 #[component(name = "a")]
365 #[component(name = "b")]
377 assert!(16 == < Casts5 as wasmtime::component::ComponentType >::SIZE32);
378 assert!(8 == < Casts5 as wasmtime::component::ComponentType >::ALIGN32);
380 #[derive(wasmtime::component::ComponentType)]
381 #[derive(wasmtime::component::Lift)]
382 #[derive(wasmtime::component::Lower)]
383 #[component(variant)]
386 #[component(name = "a")]
388 #[component(name = "b")]
400 assert!(12 == < Casts6 as wasmtime::component::ComponentType >::SIZE32);
401 assert!(4 == < Casts6 as wasmtime::component::ComponentType >::ALIGN32);
403 #[derive(wasmtime::component::ComponentType)]
404 #[derive(wasmtime::component::Lift)]
405 #[derive(wasmtime::component::Lower)]
406 #[component(enum)]
410 #[component(name = "bad1")]
412 #[component(name = "bad2")]
445 assert!(1 == < MyErrno as wasmtime::component::ComponentType >::SIZE32);
446 assert!(1 == < MyErrno as wasmtime::component::ComponentType >::ALIGN32);
448 #[derive(wasmtime::component::ComponentType)]
449 #[derive(wasmtime::component::Lift)]
450 #[derive(wasmtime::component::Lower)]
451 #[component(record)]
454 #[component(name = "v1")]
463 assert!(12 == < IsClone as wasmtime::component::ComponentType >::SIZE32);
464 assert!(4 == < IsClone as wasmtime::component::ComponentType >::ALIGN32);
466 pub trait HostWithStore: wasmtime::component::HasData {}
469 _T: wasmtime::component::HasData,
514 wasmtime::component::__internal::String, in result_arg()
515 wasmtime::component::__internal::Vec<u8>, in result_arg()
527 wasmtime::component::__internal::String, in result_result()
528 wasmtime::component::__internal::Vec<u8>, in result_result()
602 wasmtime::component::__internal::String, in result_arg()
603 wasmtime::component::__internal::Vec<u8>, in result_arg()
617 wasmtime::component::__internal::String, in result_result()
618 wasmtime::component::__internal::Vec<u8>, in result_result()
652 linker: &mut wasmtime::component::Linker<T>, in add_to_linker()
789 wasmtime::component::__internal::String, in add_to_linker()
790 wasmtime::component::__internal::Vec<u8>, in add_to_linker()
901 use wasmtime::component::__internal::Box;
902 #[derive(wasmtime::component::ComponentType)]
903 #[derive(wasmtime::component::Lift)]
904 #[derive(wasmtime::component::Lower)]
905 #[component(enum)]
909 #[component(name = "a")]
923 assert!(1 == < E1 as wasmtime::component::ComponentType >::SIZE32);
924 assert!(1 == < E1 as wasmtime::component::ComponentType >::ALIGN32);
926 #[derive(wasmtime::component::ComponentType)]
927 #[derive(wasmtime::component::Lift)]
928 #[derive(wasmtime::component::Lower)]
929 #[component(record)]
942 0 == < Empty as wasmtime::component::ComponentType >::SIZE32
945 1 == < Empty as wasmtime::component::ComponentType >::ALIGN32
948 #[derive(wasmtime::component::ComponentType)]
949 #[derive(wasmtime::component::Lift)]
950 #[derive(wasmtime::component::Lower)]
951 #[component(variant)]
954 #[component(name = "a")]
956 #[component(name = "c")]
958 #[component(name = "d")]
959 D(wasmtime::component::__internal::String),
960 #[component(name = "e")]
962 #[component(name = "f")]
964 #[component(name = "g")]
983 assert!(12 == < V1 as wasmtime::component::ComponentType >::SIZE32);
984 assert!(4 == < V1 as wasmtime::component::ComponentType >::ALIGN32);
986 #[derive(wasmtime::component::ComponentType)]
987 #[derive(wasmtime::component::Lift)]
988 #[derive(wasmtime::component::Lower)]
989 #[component(variant)]
992 #[component(name = "a")]
994 #[component(name = "b")]
1010 8 == < Casts1 as wasmtime::component::ComponentType >::SIZE32
1013 4 == < Casts1 as wasmtime::component::ComponentType >::ALIGN32
1016 #[derive(wasmtime::component::ComponentType)]
1017 #[derive(wasmtime::component::Lift)]
1018 #[derive(wasmtime::component::Lower)]
1019 #[component(variant)]
1022 #[component(name = "a")]
1024 #[component(name = "b")]
1040 16 == < Casts2 as wasmtime::component::ComponentType >::SIZE32
1043 8 == < Casts2 as wasmtime::component::ComponentType >::ALIGN32
1046 #[derive(wasmtime::component::ComponentType)]
1047 #[derive(wasmtime::component::Lift)]
1048 #[derive(wasmtime::component::Lower)]
1049 #[component(variant)]
1052 #[component(name = "a")]
1054 #[component(name = "b")]
1070 16 == < Casts3 as wasmtime::component::ComponentType >::SIZE32
1073 8 == < Casts3 as wasmtime::component::ComponentType >::ALIGN32
1076 #[derive(wasmtime::component::ComponentType)]
1077 #[derive(wasmtime::component::Lift)]
1078 #[derive(wasmtime::component::Lower)]
1079 #[component(variant)]
1082 #[component(name = "a")]
1084 #[component(name = "b")]
1100 16 == < Casts4 as wasmtime::component::ComponentType >::SIZE32
1103 8 == < Casts4 as wasmtime::component::ComponentType >::ALIGN32
1106 #[derive(wasmtime::component::ComponentType)]
1107 #[derive(wasmtime::component::Lift)]
1108 #[derive(wasmtime::component::Lower)]
1109 #[component(variant)]
1112 #[component(name = "a")]
1114 #[component(name = "b")]
1130 16 == < Casts5 as wasmtime::component::ComponentType >::SIZE32
1133 8 == < Casts5 as wasmtime::component::ComponentType >::ALIGN32
1136 #[derive(wasmtime::component::ComponentType)]
1137 #[derive(wasmtime::component::Lift)]
1138 #[derive(wasmtime::component::Lower)]
1139 #[component(variant)]
1142 #[component(name = "a")]
1144 #[component(name = "b")]
1160 12 == < Casts6 as wasmtime::component::ComponentType >::SIZE32
1163 4 == < Casts6 as wasmtime::component::ComponentType >::ALIGN32
1166 #[derive(wasmtime::component::ComponentType)]
1167 #[derive(wasmtime::component::Lift)]
1168 #[derive(wasmtime::component::Lower)]
1169 #[component(enum)]
1173 #[component(name = "bad1")]
1175 #[component(name = "bad2")]
1215 1 == < MyErrno as wasmtime::component::ComponentType >::SIZE32
1218 1 == < MyErrno as wasmtime::component::ComponentType >::ALIGN32
1221 #[derive(wasmtime::component::ComponentType)]
1222 #[derive(wasmtime::component::Lift)]
1223 #[derive(wasmtime::component::Lower)]
1224 #[component(record)]
1227 #[component(name = "v1")]
1240 12 == < IsClone as wasmtime::component::ComponentType >::SIZE32
1243 4 == < IsClone as wasmtime::component::ComponentType >::ALIGN32
1248 e1_arg: wasmtime::component::Func,
1249 e1_result: wasmtime::component::Func,
1250 v1_arg: wasmtime::component::Func,
1251 v1_result: wasmtime::component::Func,
1252 bool_arg: wasmtime::component::Func,
1253 bool_result: wasmtime::component::Func,
1254 option_arg: wasmtime::component::Func,
1255 option_result: wasmtime::component::Func,
1256 casts: wasmtime::component::Func,
1257 result_arg: wasmtime::component::Func,
1258 result_result: wasmtime::component::Func,
1259 return_result_sugar: wasmtime::component::Func,
1260 return_result_sugar2: wasmtime::component::Func,
1261 return_result_sugar3: wasmtime::component::Func,
1262 return_result_sugar4: wasmtime::component::Func,
1263 return_option_sugar: wasmtime::component::Func,
1264 return_option_sugar2: wasmtime::component::Func,
1265 result_simple: wasmtime::component::Func,
1266 is_clone_arg: wasmtime::component::Func,
1267 is_clone_return: wasmtime::component::Func,
1271 e1_arg: wasmtime::component::ComponentExportIndex,
1272 e1_result: wasmtime::component::ComponentExportIndex,
1273 v1_arg: wasmtime::component::ComponentExportIndex,
1274 v1_result: wasmtime::component::ComponentExportIndex,
1275 bool_arg: wasmtime::component::ComponentExportIndex,
1276 bool_result: wasmtime::component::ComponentExportIndex,
1277 option_arg: wasmtime::component::ComponentExportIndex,
1278 option_result: wasmtime::component::ComponentExportIndex,
1279 casts: wasmtime::component::ComponentExportIndex,
1280 result_arg: wasmtime::component::ComponentExportIndex,
1281 result_result: wasmtime::component::ComponentExportIndex,
1282 return_result_sugar: wasmtime::component::ComponentExportIndex,
1283 return_result_sugar2: wasmtime::component::ComponentExportIndex,
1284 return_result_sugar3: wasmtime::component::ComponentExportIndex,
1285 return_result_sugar4: wasmtime::component::ComponentExportIndex,
1286 return_option_sugar: wasmtime::component::ComponentExportIndex,
1287 return_option_sugar2: wasmtime::component::ComponentExportIndex,
1288 result_simple: wasmtime::component::ComponentExportIndex,
1289 is_clone_arg: wasmtime::component::ComponentExportIndex,
1290 is_clone_return: wasmtime::component::ComponentExportIndex,
1300 _instance_pre: &wasmtime::component::InstancePre<_T>, in new()
1303 .component() in new()
1312 .component() in new()
1368 instance: &wasmtime::component::Instance, in load()
1454 wasmtime::component::__internal::String, in load()
1455 wasmtime::component::__internal::Vec<u8>, in load()
1546 wasmtime::component::TypedFunc::< in call_e1_arg()
1559 wasmtime::component::TypedFunc::< in call_e1_result()
1573 wasmtime::component::TypedFunc::< in call_v1_arg()
1586 wasmtime::component::TypedFunc::< in call_v1_result()
1600 wasmtime::component::TypedFunc::< in call_bool_arg()
1613 wasmtime::component::TypedFunc::< in call_bool_result()
1632 wasmtime::component::TypedFunc::< in call_option_arg()
1665 wasmtime::component::TypedFunc::< in call_option_result()
1695 wasmtime::component::TypedFunc::< in call_casts()
1718 wasmtime::component::TypedFunc::< in call_result_arg()
1748 wasmtime::component::__internal::String, in call_result_result()
1749 wasmtime::component::__internal::Vec<u8>, in call_result_result()
1754 wasmtime::component::TypedFunc::< in call_result_result()
1764 wasmtime::component::__internal::String, in call_result_result()
1765 wasmtime::component::__internal::Vec<u8>, in call_result_result()
1779 wasmtime::component::TypedFunc::< in call_return_result_sugar()
1792 wasmtime::component::TypedFunc::< in call_return_result_sugar2()
1805 wasmtime::component::TypedFunc::< in call_return_result_sugar3()
1818 wasmtime::component::TypedFunc::< in call_return_result_sugar4()
1831 wasmtime::component::TypedFunc::< in call_return_option_sugar()
1844 wasmtime::component::TypedFunc::< in call_return_option_sugar2()
1857 wasmtime::component::TypedFunc::< in call_result_simple()
1871 wasmtime::component::TypedFunc::< in call_is_clone_arg()
1884 wasmtime::component::TypedFunc::< in call_is_clone_return()