mirror of
https://github.com/notohh/rustlings.git
synced 2024-12-23 11:48:09 -05:00
8 lines
274 B
Markdown
8 lines
274 B
Markdown
# Structs
|
|
|
|
Rust has three struct types: a classic C struct, a tuple struct, and a unit struct.
|
|
|
|
## Further information
|
|
|
|
- [Structures](https://doc.rust-lang.org/book/ch05-01-defining-structs.html)
|
|
- [Method Syntax](https://doc.rust-lang.org/book/ch05-03-method-syntax.html)
|