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

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
主站蜘蛛池模板: 张家港市| 宾阳县| 都安| 连江县| 邯郸市| 连江县| 芒康县| 池州市| 隆昌县| 梨树县| 镇江市| 邳州市| 淮阳县| 泸溪县| 南部县| 南郑县| 离岛区| 竹北市| 玛曲县| 沙湾县| 哈密市| 岚皋县| 南澳县| 宜良县| 江安县| 武汉市| 汤阴县| 曲周县| 太原市| 新源县| 丽江市| 华阴市| 九龙坡区| 华安县| 山阴县| 安化县| 高碑店市| 铁岭市| 视频| 开江县| 正定县|