|
|
||
|---|---|---|
| .. | ||
| README.md | ||
| structs1.rs | ||
| structs2.rs | ||
| structs3.rs | ||
Structs
Rust has three struct types: a classic c struct, a tuple struct, and a unit struct.
|
|
||
|---|---|---|
| .. | ||
| README.md | ||
| structs1.rs | ||
| structs2.rs | ||
| structs3.rs | ||
Rust has three struct types: a classic c struct, a tuple struct, and a unit struct.