mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 15:56:28 +00:00
249ad44cc0
all exercises readme files now have a unified structure and a description |
||
---|---|---|
.. | ||
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.