- Rust Quick Start Guide
- Daniel Arbuckle
- 96字
- 2021-06-10 19:46:03
Using the item's full name directly
An item's full name consists of the module name, a :: symbol, and then the item's short name. If we have several layers of modules that we need to get through before we find the item we want, we list those modules' names in order, with a :: between each name. For example, we might refer to std::path::Path to get the Path item from the path module of the std module.
We can use the full name anywhere and be completely unambiguous as to what item we're talking about.
推薦閱讀
- Vue 3移動(dòng)Web開發(fā)與性能調(diào)優(yōu)實(shí)戰(zhàn)
- 現(xiàn)代C++編程:從入門到實(shí)踐
- 數(shù)據(jù)結(jié)構(gòu)習(xí)題精解(C語言實(shí)現(xiàn)+微課視頻)
- Learning AWS Lumberyard Game Development
- C語言程序設(shè)計(jì)實(shí)踐教程
- Windows Server 2012 Unified Remote Access Planning and Deployment
- Reactive Android Programming
- Mastering Apache Maven 3
- 低代碼平臺(tái)開發(fā)實(shí)踐:基于React
- iOS開發(fā)實(shí)戰(zhàn):從入門到上架App Store(第2版) (移動(dòng)開發(fā)叢書)
- Python圖形化編程(微課版)
- Spring Boot+Vue全棧開發(fā)實(shí)戰(zhàn)
- 區(qū)塊鏈架構(gòu)之美:從比特幣、以太坊、超級(jí)賬本看區(qū)塊鏈架構(gòu)設(shè)計(jì)
- PHP+MySQL動(dòng)態(tài)網(wǎng)站開發(fā)從入門到精通(視頻教學(xué)版)
- Hack與HHVM權(quán)威指南