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