跳至主要內容

Rust程序设计语言

Mike大约 1 分钟Rust语法

这本书主要描述了Rust的基本语法。

The Rust Programming Language Rust程序设计语言

by Steve Klabnik and Carol Nichols, with contributions from the Rust Community

This version of the text assumes you're using Rust 1.67.1 (released 2023-02-09) or later. See the "Installation" section of Chapter 1 to install or update Rust.
译:本书将假设你正在使用Rust 1.67.1版本(发布于2023年2月9日)或更新的版本。参考第一章的"安装"章节来安装Rust或更新Rust。

The HTML format is available online at https://doc.rust-lang.org/stable/book/open in new window and offline with installations of Rust made with rustup; run rustup docs --book to open.
译:这本书可在线浏览于https://doc.rust-lang.org/stable/book/open in new window,离线浏览需要在安装Rust后执行 rustup docs --book 命令来查看。

Several community translations are also available.
译:还有几个社区翻译版本

This text is available in paperback and ebook format from No Starch Pressopen in new window.
译:No Starch出版社open in new window同样提供了本书的纸质版和电子版。

🚨 Want a more interactive learning experience? Try out a different version
of the Rust Book, featuring: quizzes, highlighting, visualizations, and
more
: https://rust-book.cs.brown.eduopen in new window
译:想要更多交互式的学习体验嘛?试试不一样的Rust书籍吧,它包含小测验、代码高亮、可视化等等:https://rust-book.cs.brown.eduopen in new window