官术网_书友最值得收藏!

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
主站蜘蛛池模板: 许昌县| 红安县| 兴安县| 来宾市| 卫辉市| 南安市| 响水县| 祁连县| 全南县| 武乡县| 宜州市| 永善县| 宁武县| 广水市| 彭山县| 翁牛特旗| 县级市| 太谷县| 通山县| 广水市| 咸丰县| 永春县| 高要市| 理塘县| 来宾市| 保康县| 封开县| 罗江县| 麻江县| 尼木县| 桑日县| 岑溪市| 竹溪县| 鹤壁市| 广平县| 江口县| 兴海县| 烟台市| 察哈| 洪江市| 万全县|