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