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

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
主站蜘蛛池模板: 凤冈县| 延庆县| 枣庄市| 呼伦贝尔市| 房产| 河东区| 广元市| 汨罗市| 盈江县| 运城市| 新宾| 墨脱县| 鹿邑县| 游戏| 营口市| 保康县| 长宁区| 景东| 扬州市| 新巴尔虎左旗| 新昌县| 上犹县| 信丰县| 夏邑县| 道孚县| 青河县| 出国| 永新县| 九江县| 神农架林区| 开江县| 金乡县| 黎川县| 和龙市| 汤原县| 仙桃市| 噶尔县| 白水县| 桐梓县| 伊川县| 九江县|