Rust 程序设计语言 简体中文版 1.85.0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158 8.3. 使用 Hash Map 储存键值对 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 第七章介绍 Rust 的模块(module)系统,其中的私有性规则用来组织代码和公开的 API(应 用程序接口)。第八章讨论标准库提供的常见集合数据结构,例如 Vector(向量)、字符串和 Hash Map(散列表)。第九章探索 Rust 的错误处理的理念与技术。 第十章深入介绍泛型(generic)、Trait 和生命周期(lifetime),这些功能让你能够定义适用 于多种类型的代码。第十一章全面讲述了测试,因为就算 故障排除(Troubleshooting) 要检查是否正确安装了 Rust,打开命令行并输入: $ rustc --version 你应该可以看到按照以下格式显示的最新稳定版本的版本号、对应的 Commit Hash 和 Commit 日期: rustc x.y.z (abcabcabc yyyy-mm-dd) 如果看到了这样的信息,就说明 Rust 已经安装成功了!如果没看到,请按照下面说明的方法 检查0 码力 | 562 页 | 3.23 MB | 1 月前3
The Servo Book - 0.0.1servoshell arguments ^^^^^^^^^ (lldb) image lookup -r -n(gdb) info functions (lldb) thread list (lldb) info threads (gdb) b a_servo_function # Add a breakpoint. must use CanGc::note() , since they execute independently of the caller's stack frame extern "C" functions must use CanGc::note() , since they require a matching signature for some external library When implementations ( onscreen , origin_is_clean , size , mark_as_dirty ). mark_as_dirty is called from functions that affect the painter's image and tells layout to rerender the canvas element (by marking HTMLCanvasElement 0 码力 | 107 页 | 2.48 MB | 3 天前3
共 2 条
- 1













