2022-09-10 01:30:47 +01:00
|
|
|
// @is "$.index[*][?(@.name=='EnumStruct')].visibility" \"public\"
|
|
|
|
// @is "$.index[*][?(@.name=='EnumStruct')].kind" \"enum\"
|
2021-08-27 14:58:50 +02:00
|
|
|
pub enum EnumStruct {
|
2022-09-10 01:30:47 +01:00
|
|
|
// @is "$.index[*][?(@.name=='x')].kind" \"struct_field\"
|
2023-01-01 18:53:50 +00:00
|
|
|
// @set x = "$.index[*][?(@.name=='x')].id"
|
2022-09-10 01:30:47 +01:00
|
|
|
// @is "$.index[*][?(@.name=='y')].kind" \"struct_field\"
|
2023-01-01 18:53:50 +00: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 14:58:50 +02:00
|
|
|
}
|