- Rust Quick Start Guide
- Daniel Arbuckle
- 173字
- 2021-06-10 19:46:02
Basics of the Rust Language
Okay, we're ready to actually begin writing some Rust code. In this chapter, we're going to look at how Rust programs are structured, and how an assortment of common programming elements are expressed in the language. We'll start with functions and modules, then move on to fundamental language features, such as branching, looping, and data structures. Almost everything we're covering in this chapter has an equivalent in most other programming languages; these are the fundamentals of programming.
Specifically, this chapter describes the following:
- Functions, which are somewhat like miniature programs that are part of the larger program
- Modules, which are used to organize the program
- Expressions, which are how we tell the program to actually do specific things
- Branching, which is how we tell the program to make a decision
- Looping, which is how we tell the program to perform extended actions
- Structures, which is how we organize information for the program to process
- Attaching functions to structures or other data types, to make them more useful
推薦閱讀
- Spring Cloud Alibaba核心技術與實戰案例
- C語言程序設計基礎與實驗指導
- Mastering Julia
- Nginx Essentials
- Tableau 10 Bootcamp
- Android項目實戰:手機安全衛士開發案例解析
- Python語言實用教程
- ArcGIS for Desktop Cookbook
- Spring Boot實戰
- Visual Basic 程序設計實踐教程
- Drupal 8 Development Cookbook(Second Edition)
- Offer來了:Java面試核心知識點精講(框架篇)
- 開發者測試
- Web前端開發實戰教程(HTML5+CSS3+JavaScript)(微課版)
- JavaScript高級程序設計(第3版)