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