2022-09-10 01:30:47 +01:00
|
|
|
// @is "$.index[*][?(@.name=='EnumTupleStruct')].visibility" \"public\"
|
2023-05-22 18:17:52 +01:00
|
|
|
// @has "$.index[*][?(@.name=='EnumTupleStruct')].inner.enum"
|
2021-08-27 14:58:50 +02:00
|
|
|
pub enum EnumTupleStruct {
|
2023-05-22 18:17:52 +01:00
|
|
|
// @has "$.index[*][?(@.name=='0')].inner.struct_field"
|
2023-01-01 18:53:50 +00:00
|
|
|
// @set f0 = "$.index[*][?(@.name=='0')].id"
|
2023-05-22 18:17:52 +01:00
|
|
|
// @has "$.index[*][?(@.name=='1')].inner.struct_field"
|
2023-01-01 18:53:50 +00:00
|
|
|
// @set f1 = "$.index[*][?(@.name=='1')].id"
|
2023-05-22 18:17:52 +01:00
|
|
|
// @ismany "$.index[*][?(@.name=='VariantA')].inner.variant.kind.tuple[*]" $f0 $f1
|
2021-08-27 14:58:50 +02:00
|
|
|
VariantA(u32, String),
|
|
|
|
}
|