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