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

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
主站蜘蛛池模板: 穆棱市| 达拉特旗| 岳西县| 太和县| 重庆市| 喜德县| 留坝县| 荣昌县| 尼勒克县| 武威市| 扶沟县| 突泉县| 武定县| 通州区| 隆子县| 西丰县| 黔江区| 侯马市| 尼玛县| 积石山| 郴州市| 专栏| 和顺县| 新蔡县| 菏泽市| 临沧市| 陇南市| 明水县| 吴江市| 花莲市| 奈曼旗| 乳山市| 福贡县| 米林县| 新竹县| 金平| 阿拉尔市| 铅山县| 广州市| 凤冈县| 武宣县|