mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 03:33:59 +00:00
21 lines
251 B
Rust
21 lines
251 B
Rust
pub struct Z0;
|
|
pub struct Z1();
|
|
|
|
pub struct S(pub u8, pub u8, pub u8);
|
|
pub struct M(
|
|
pub u8,
|
|
pub u8,
|
|
pub u8,
|
|
);
|
|
|
|
pub enum E1 { Z0, Z1(), S(u8, u8, u8) }
|
|
|
|
pub enum E2 {
|
|
S(u8, u8, u8),
|
|
M(
|
|
u8,
|
|
u8,
|
|
u8,
|
|
),
|
|
}
|