- 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.
推薦閱讀
- R語言數(shù)據(jù)分析從入門到精通
- 測試驅(qū)動開發(fā):入門、實戰(zhàn)與進(jìn)階
- Azure IoT Development Cookbook
- 小創(chuàng)客玩轉(zhuǎn)圖形化編程
- Python自動化運維快速入門(第2版)
- MATLAB圖像處理超級學(xué)習(xí)手冊
- UML+OOPC嵌入式C語言開發(fā)精講
- MySQL數(shù)據(jù)庫管理與開發(fā)實踐教程 (清華電腦學(xué)堂)
- 愛上micro:bit
- Mastering C++ Multithreading
- Learning Bootstrap 4(Second Edition)
- Getting Started with Web Components
- 網(wǎng)絡(luò)綜合布線與組網(wǎng)實戰(zhàn)指南
- Python程序員面試算法寶典
- Opa Application Development