|
|
|
|
<!DOCTYPE HTML>
|
|
|
|
|
<html lang="zh-CN" class="light" dir="ltr">
|
|
|
|
|
<head>
|
|
|
|
|
<!-- sidebar iframe generated using mdBook
|
|
|
|
|
|
|
|
|
|
This is a frame, and not included directly in the page, to control the total size of the
|
|
|
|
|
book. The TOC contains an entry for each page, so if each page includes a copy of the TOC,
|
|
|
|
|
the total size of the page becomes O(n**2).
|
|
|
|
|
|
|
|
|
|
The frame is only used as a fallback when JS is turned off. When it's on, the sidebar is
|
|
|
|
|
instead added to the main page by `toc.js` instead. The JavaScript mode is better
|
|
|
|
|
because, when running in a `file:///` URL, the iframed page would not be Same-Origin as
|
|
|
|
|
the rest of the page, so the sidebar and the main page theme would fall out of sync.
|
|
|
|
|
-->
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
<meta name="robots" content="noindex">
|
|
|
|
|
<!-- Custom HTML head -->
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
|
<meta name="theme-color" content="#ffffff">
|
|
|
|
|
<link rel="stylesheet" href="css/variables-8adf115d.css">
|
|
|
|
|
<link rel="stylesheet" href="css/general-2459343d.css">
|
|
|
|
|
<link rel="stylesheet" href="css/chrome-ae938929.css">
|
|
|
|
|
<link rel="stylesheet" href="css/print-9e4910d8.css" media="print">
|
|
|
|
|
<!-- Fonts -->
|
|
|
|
|
<link rel="stylesheet" href="fonts/fonts-9644e21d.css">
|
|
|
|
|
<!-- Custom theme stylesheets -->
|
|
|
|
|
<link rel="stylesheet" href="theme/style-234bffbf.css">
|
|
|
|
|
</head>
|
|
|
|
|
<body class="sidebar-iframe-inner">
|
|
|
|
|
<ol class="chapter"><li class="chapter-item "><span class="chapter-link-wrapper"><a href="about-book.html" target="_parent">关于本书</a></span></li><li class="chapter-item "><span class="chapter-link-wrapper"><a href="into-rust.html" target="_parent">进入 Rust 编程世界</a></span></li><li class="chapter-item "><span class="chapter-link-wrapper"><a href="first-try/sth-you-should-not-do.html" target="_parent">避免从入门到放弃</a></span></li><li class="chapter-item "><span class="chapter-link-wrapper"><a href="community.html" target="_parent">社区和锈书</a></span></li><li class="chapter-item "><li class="spacer"></li></li><li class="chapter-item "><span class="chapter-link-wrapper"><a href="some-thoughts.html" target="_parent">Xobserve: 一切皆可观测</a></span></li><li class="chapter-item "><span class="chapter-link-wrapper"><a href="beat-ai.html" target="_parent">BeatAI: 工程师 AI 入门圣经</a></span></li><li class="chapter-item "><li class="part-title">Rust 语言基础学习</li></li><li class="chapter-item "><li class="spacer"></li></li><li class="chapter-item "><span class="chapter-link-wrapper"><a href="first-try/intro.html" target="_parent"><strong aria-hidden="true">1.</strong> 寻找牛刀,以便小试</a><a class="chapter-fold-toggle"><div>❱</div></a></span><ol class="section"><li class="chapter-item "><span class="chapter-link-wrapper"><a href="first-try/installation.html" target="_parent"><strong aria-hidden="true">1.1.</strong> 安装 Rust 环境</a></span></li><li class="chapter-item "><span class="chapter-link-wrapper"><a href="first-try/editor.html" target="_parent"><strong aria-hidden="true">1.2.</strong> 墙推 VSCode!</a></span></li><li class="chapter-item "><span class="chapter-link-wrapper"><a href="first-try/cargo.html" target="_parent"><strong aria-hidden="true">1.3.</strong> 认识 Cargo</a></span></li><li class="chapter-item "><span class="chapter-link-wrapper"><a href="first-try/hello-world.html" target="_parent"><strong aria-hidden="true">1.4.</strong> 不仅仅是 Hello world</a></span></li><li class="chapter-item "><span class="chapter-link-wrapper"><a href="first-try/slowly-downloading.html" target="_parent"><strong aria-hidden="true">1.5.</strong> 下载依赖太慢了?</a></span></li></ol><li class="chapter-item "><span class="chapter-link-wrapper"><a href="basic/intro.html" target="_parent"><strong aria-hidden="true">2.</strong> Rust 基础入门</a><a class="chapter-fold-toggle"><div>❱</div></a></span><ol class="section"><li class="chapter-item "><span class="chapter-link-wrapper"><a href="basic/variable.html" target="_parent"><strong aria-hidden="true">2.1.</strong> 变量绑定与解构</a></span></li><li class="chapter-item "><span class="chapter-link-wrapper"><a href="basic/base-type/index.html" target="_parent"><strong aria-hidden="true">2.2.</strong> 基本类型</a><a class="chapter-fold-toggle"><div>❱</div></a></span><ol class="section"><li class="chapter-item "><span class="chapter-link-wrapper"><a href="basic/base-type/numbers.html" target="_parent"><strong aria-hidden="true">2.2.1.</strong> 数值类型</a></span></li><li class="chapter-item "><span class="chapter-link-wrapper"><a href="basic/base-type/char-bool.html" target="_parent"><strong aria-hidden="true">2.2.2.</strong> 字符、布尔、单元类型</a></span></li><li class="chapter-item "><span class="chapter-link-wrapper"><a href="basic/base-type/statement-expression.html" target="_parent"><strong aria-hidden="true">2.2.3.</strong> 语句与表达式</a></span></li><li class="chapter-item "><span class="chapter-link-wrapper"><a href="basic/base-type/function.html" target="_parent"><strong aria-hidden="true">2.2.4.</strong> 函数</a></span></li></ol><li class="chapter-item "><span class="chapter-link-wrapper"><a href="basic/ownership/index.html" target="_parent"><strong aria-hidden="true">2.3.</strong> 所有权和借用</a><a class="chapter-fold-toggle"><div>❱</div></a></span><ol class="section"><li class="chapter-item "><span class="chapter-link-wrapper"><a href="b
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|