- 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
推薦閱讀
- Mastering Concurrency Programming with Java 8
- 基于Java技術(shù)的Web應(yīng)用開發(fā)
- 云原生Spring實戰(zhàn)
- Monitoring Elasticsearch
- Building Serverless Applications with Python
- Web Development with MongoDB and Node(Third Edition)
- Android程序設(shè)計基礎(chǔ)
- C語言程序設(shè)計
- Serverless computing in Azure with .NET
- 劍指大數(shù)據(jù):企業(yè)級數(shù)據(jù)倉庫項目實戰(zhàn)(在線教育版)
- Kivy Cookbook
- Kubernetes進(jìn)階實戰(zhàn)
- 交互式程序設(shè)計(第2版)
- Arduino電子設(shè)計實戰(zhàn)指南:零基礎(chǔ)篇
- Visual Basic程序設(shè)計基礎(chǔ)