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