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

Variables

As with all programming languages, we need a way to store information within our application. This information can be anything and, as with every other language, it's stored in a variable. However, unlike every other language, Rust does not store data in the same way as (say) C does.

To that end, in this chapter we will do the following:

  • Understand variable mutability
  • See how Rust stores information in a variable, and the types of variable available
  • See how Rust deals with vector variable types
  • Understand how Rust can and cannot manipulate variables
  • See how Rust can pass variables
  • Take a look at how Rust stores a variable internally
主站蜘蛛池模板: 赣榆县| 鹤壁市| 弥渡县| 怀仁县| 蚌埠市| 奉贤区| 大埔县| 蒙城县| 昌都县| 丰城市| 泊头市| 彝良县| 尤溪县| 斗六市| 永宁县| 吉隆县| 民丰县| 原平市| 鹤峰县| 南康市| 上犹县| 农安县| 铜鼓县| 泰和县| 红安县| 山丹县| 樟树市| 山阳县| 常山县| 峨山| 石渠县| 宣城市| 晋江市| 瓦房店市| 浦城县| 蛟河市| 白河县| 武义县| 浪卡子县| 许昌市| 石河子市|