mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-02 04:57:35 +00:00
8 lines
244 B
Rust
8 lines
244 B
Rust
![]() |
// @has union.json "$.index[*][?(@.name=='Union')].visibility" \"public\"
|
||
|
// @has - "$.index[*][?(@.name=='Union')].kind" \"union\"
|
||
|
// @!has - "$.index[*][?(@.name=='Union')].inner.struct_type"
|
||
|
pub union Union {
|
||
|
int: i32,
|
||
|
float: f32,
|
||
|
}
|