Rust 程序设计语言 简体中文版 1.85.0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158 8.3. 使用 Hash Map 储存键值对 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 第七章介绍 Rust 的模块(module)系统,其中的私有性规则用来组织代码和公开的 API(应 用程序接口)。第八章讨论标准库提供的常见集合数据结构,例如 Vector(向量)、字符串和 Hash Map(散列表)。第九章探索 Rust 的错误处理的理念与技术。 第十章深入介绍泛型(generic)、Trait 和生命周期(lifetime),这些功能让你能够定义适用 于多种类型的代码。第十一章全面讲述了测试,因为就算 crate 作用域的习惯用法。 文件名:src/main.rs use std::collections::HashMap; fn main() { let mut map = HashMap::new(); map.insert(1, 2); } 示例 7-14: 将 HashMap 引入作用域的习惯用法 这种习惯用法背后没有什么硬性要求:它只是一种惯例,人们已经习惯了以这种方式阅读和编0 码力 | 562 页 | 3.23 MB | 1 月前3
julia 1.10.10variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315 25.5 Parallel Map and Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317 25.6 Remote References arithmetic and bitwise operators as well as standard mathematical functions are defined over them. These map directly onto numeric types and operations that are natively supported on modern computers, thus allowing STRINGS 62 i Do case-insensitive pattern matching. If locale matching rules are in effect, the case map is taken from the current locale for code points less than 255, and from Unicode rules for larger0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.10.9variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315 25.5 Parallel Map and Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317 25.6 Remote References arithmetic and bitwise operators as well as standard mathematical functions are defined over them. These map directly onto numeric types and operations that are natively supported on modern computers, thus allowing STRINGS 62 i Do case-insensitive pattern matching. If locale matching rules are in effect, the case map is taken from the current locale for code points less than 255, and from Unicode rules for larger0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.11.4variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335 26.5 Parallel Map and Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336 26.6 Remote References arithmetic and bitwise operators as well as standard mathematical functions are defined over them. These map directly onto numeric types and operations that are natively supported on modern computers, thus allowing manpage: i Do case-insensitive pattern matching. If locale matching rules are in effect, the case map is taken from the current locale for code points less than 255, and from Unicode rules for larger0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.5 Documentationvariables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335 26.5 Parallel Map and Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336 26.6 Remote References arithmetic and bitwise operators as well as standard mathematical functions are defined over them. These map directly onto numeric types and operations that are natively supported on modern computers, thus allowing manpage: i Do case-insensitive pattern matching. If locale matching rules are in effect, the case map is taken from the current locale for code points less than 255, and from Unicode rules for larger0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.6 Release Notesvariables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335 26.5 Parallel Map and Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336 26.6 Remote References arithmetic and bitwise operators as well as standard mathematical functions are defined over them. These map directly onto numeric types and operations that are natively supported on modern computers, thus allowing manpage: i Do case-insensitive pattern matching. If locale matching rules are in effect, the case map is taken from the current locale for code points less than 255, and from Unicode rules for larger0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.12.0 RC1variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339 26.5 Parallel Map and Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340 26.6 Remote References arithmetic and bitwise operators as well as standard mathematical functions are defined over them. These map directly onto numeric types and operations that are natively supported on modern computers, thus allowing manpage: i Do case-insensitive pattern matching. If locale matching rules are in effect, the case map is taken from the current locale for code points less than 255, and from Unicode rules for larger0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta4variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338 26.5 Parallel Map and Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339 26.6 Remote References arithmetic and bitwise operators as well as standard mathematical functions are defined over them. These map directly onto numeric types and operations that are natively supported on modern computers, thus allowing manpage: i Do case-insensitive pattern matching. If locale matching rules are in effect, the case map is taken from the current locale for code points less than 255, and from Unicode rules for larger0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta3variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338 26.5 Parallel Map and Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339 26.6 Remote References arithmetic and bitwise operators as well as standard mathematical functions are defined over them. These map directly onto numeric types and operations that are natively supported on modern computers, thus allowing manpage: i Do case-insensitive pattern matching. If locale matching rules are in effect, the case map is taken from the current locale for code points less than 255, and from Unicode rules for larger0 码力 | 2057 页 | 7.44 MB | 3 月前3
julia 1.12.0 beta1variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338 26.5 Parallel Map and Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339 26.6 Remote References arithmetic and bitwise operators as well as standard mathematical functions are defined over them. These map directly onto numeric types and operations that are natively supported on modern computers, thus allowing manpage: i Do case-insensitive pattern matching. If locale matching rules are in effect, the case map is taken from the current locale for code points less than 255, and from Unicode rules for larger0 码力 | 2047 页 | 7.41 MB | 3 月前3
共 19 条
- 1
- 2













