mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-12-28 23:09:18 +00:00
9 lines
276 B
Markdown
9 lines
276 B
Markdown
# 結構體
|
|
|
|
Rust 有三種結構體類型:經典 C 結構體、元組結構體和單元結構體。
|
|
|
|
## 進一步了解
|
|
|
|
- [結構體](https://doc.rust-lang.org/book/ch05-01-defining-structs.html)
|
|
- [方法語法](https://doc.rust-lang.org/book/ch05-03-method-syntax.html)
|