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

  • Learning Rust
  • Paul Johnson Vesa Kaihlavirta
  • 110字
  • 2021-07-02 23:07:15

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
主站蜘蛛池模板: 灵丘县| 无棣县| 慈利县| 龙泉市| 青海省| 诸城市| 宜宾县| 三都| 海林市| 桂林市| 谢通门县| 罗源县| 桃江县| 九江市| 茶陵县| 梓潼县| 景德镇市| 息烽县| 邛崃市| 子洲县| 子洲县| 江川县| 乐都县| 水城县| 宜春市| 绥芬河市| 平陆县| 双柏县| 扎赉特旗| 扎赉特旗| 宜君县| 太康县| 铁岭市| 伊宁市| 武冈市| 杂多县| 青浦区| 罗平县| 棋牌| 大姚县| 梨树县|