mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 22:02:22 -05:00
6bd791f2f4
Co-authored-by: Shao Yang Hong <shaoyang.hong@ninjavan.co> |
||
---|---|---|
.. | ||
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.