- Mastering Rust
- Rahul Sharma Vesa Kaihlavirta
- 98字
- 2021-07-02 13:35:28
Types, Generics, and Traits
Rust's type system is one of the striking features of the language. In this chapter, we'll go into detail on some of the notable aspects of the language such as traits, generics, and how to use them to write expressive code. We'll also explore some of the standard library traits that help with writing idiomatic Rust libraries. Expect lots of interesting material in this chapter!
We'll cover the following topics:
- Type systems and why they matter
- Generic programming
- Augmenting types using traits
- Exploring standard library traits
- Composing traits and generics for writing expressive code
推薦閱讀
- 零基礎PHP學習筆記
- 基于免疫進化的算法及應用研究
- 云計算通俗講義(第3版)
- PostgreSQL Replication(Second Edition)
- Nginx實戰:基于Lua語言的配置、開發與架構詳解
- Access 2010數據庫應用技術(第2版)
- 愛上micro:bit
- Hands-On GUI Programming with C++ and Qt5
- Kubernetes進階實戰
- Maker基地嘉年華:玩轉樂動魔盒學Scratch
- 小程序從0到1:微信全棧工程師一本通
- Instant Zurb Foundation 4
- Laravel Design Patterns and Best Practices
- MATLAB 2020 GUI程序設計從入門到精通
- 從零開始構建深度前饋神經網絡:Python+TensorFlow 2.x