The RUST Programming Language
RUST教程汉化和学习
「已注销」
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[The RUST Programming Language]Chapter 6. Enums and Pattern Matching
Enums and Pattern Matching 枚举和模式匹配Defining an Enum 定义一个枚举在本章中,我们将介绍枚举的相关内容。枚举允许你通过列举可能的变量来定义一种类型。首先,我们将会定义和使用一个枚举,来像你介绍如何通过枚举给数据赋予意义;然后,我们会一起研究一个非常有用的枚举Option,它表达某个值可以是任何东西或者没有东西;接着,我们还会讨论下模式匹配,并介绍ma...翻译 2020-02-25 14:47:52 · 475 阅读 · 0 评论 -
[The RUST Programming Language]Chapter 5. Using Structs to Structure Related Data
Using Structs to Structure Related DataDefining and Instantiating Structs 定义并实例化结构Using the Field Init Shorthand when Variables and Fields Have the Same Name 当变量和字段名字相同时,使用字段速记初始化Creating Instances Fr...翻译 2020-02-10 13:47:46 · 608 阅读 · 0 评论 -
[The RUST Programming Language]Chapter 4. Understanding Ownership (2)
Understanding Ownership翻译 2020-01-16 17:46:51 · 647 阅读 · 0 评论 -
[The RUST Programming Language]Chapter 4. Understanding Ownership (1)
Understanding OwnershipWhat Is Ownership? 什么是所有权?Ownership Rules 所有权规则Variable Scope 变量作用域所有权是Rust最独特的一个特性,它可以让Rust在没有垃圾回收的情况下保证内存的安全性。因此,理解所有权在Rust中的工作原理是非常重要的。在本章中,我们将讨论所有权和几个与它相关的特性:借用、切片以及Rust如何在...翻译 2020-01-11 14:17:43 · 2792 阅读 · 0 评论 -
[The RUST Programming Language]Chapter 3. Common Programing Concepts (2)
Common Programing Concepts翻译 2020-01-03 12:28:25 · 1090 阅读 · 0 评论 -
[The RUST Programming Language]Chapter 3. Common Programing Concepts (1)
Common Programing ConceptsForeword 前言Foreword 前言翻译 2019-12-25 16:58:19 · 452 阅读 · 0 评论 -
[The RUST Programming Language]Chapter 2. Programming a Guessing Game
Programming a Guessing GameSetting Up a New Project 配置一个新的项目Setting Up a New Project 配置一个新的项目翻译 2019-12-19 16:10:37 · 623 阅读 · 0 评论 -
[The RUST Programming Language]Chapter 1. Getting Started
Getting StartedGetting Started 开始Installation 安装在 Linux 和 macOS 上安装 `rustup`在 Windows 上安装 `rustup`Updating & Uninstalling 更新和卸载Troubleshooting 故障排除Local Documentation 本地文档Hello, World! :)Creating ...翻译 2019-12-13 14:28:33 · 566 阅读 · 0 评论
分享