Rust 程序设计语言 简体中文版 1.85.0match 表达式和 if let 控 制流结构。在 Rust 中,创建自定义类型需要用到结构体和枚举。 第七章介绍 Rust 的模块(module)系统,其中的私有性规则用来组织代码和公开的 API(应 用程序接口)。第八章讨论标准库提供的常见集合数据结构,例如 Vector(向量)、字符串和 Hash Map(散列表)。第九章探索 Rust 的错误处理的理念与技术。 第十章深入介绍泛型(generic)、Trait rustup doc 在浏览器中查看本地 文档。 任何时候,如果你拿不准标准库中的类型或函数的用途和用法,请查阅应用程序接口 (application programming interface,API)文档! 文本编辑器和集成开发环境(Integrated Development Environments, IDE) 本书不会假设你使用何种工具来编写 Rust 代码。几乎任何文本编辑器都可以搞定!然而,很 的简写,它表示任何至少是 0.8.5 但小于 0.9.0 的版本。 Cargo 认为这些版本与 0.8.5 版本的公有 API 相兼容,这样的版本指定确保了我们可以获取 能使本章代码编译的最新的补丁(patch)版本。任何大于等于 0.9.0 的版本不能保证和接下 来的示例采用了相同的 API。 现在,不修改任何代码,构建项目,如示例 2-2 所示。 $ cargo build Updating crates0 码力 | 562 页 | 3.23 MB | 26 天前3
Tornado 6.5 Documentationin the formats used by HTML forms will be parsed for you and is made available in methods like get_query_argument and get_body_argument. class MyFormHandler(tornado.web.RequestHandler): def get(self): methods to allow the application to indicate whether or not it expects a list. For lists, use get_query_arguments and get_body_arguments instead of their singular counterparts. Files uploaded via a form fetch("http://friendfeed-api.com/v2/feed/bret") json = tornado.escape.json_decode(response.body) self.write("Fetched " + str(len(json["entries"])) + " entries " "from the FriendFeed API") 26 Chapter 6. DocumentationTornado0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.5 Documentationin the formats used by HTML forms will be parsed for you and is made available in methods like get_query_argument and get_body_argument. class MyFormHandler(tornado.web.RequestHandler): def get(self): methods to allow the application to indicate whether or not it expects a list. For lists, use get_query_arguments and get_body_arguments instead of their singular counterparts. Files uploaded via a form http = tornado.httpclient.AsyncHTTPClient() response = await http.fetch("http://friendfeed- api.com/v2/feed/bret") json = tornado.escape.json_decode(response.body) self.write("Fetched0 码力 | 437 页 | 405.14 KB | 3 月前3
Trends Artificial Intelligence
to computing, calculating or counting patents. Google patents data changes somewhat between each query so numbers are rounded and should be viewed as directionally accurate. Source: USA Patent & Trademark top-tier model to get reliable outputs. Instead, they can run cheaper models locally or via lower-cost API providers and achieve functionally similar results, especially when fine-tuned on task-specific data Monetization…Foundation Models = Developer API Fees Driving Monetization OpenAI ChatGPT, xAI Grok, Google Gemini, Anthropic Claude & Perplexity Developer API Pricing – 5/25, per Companies OpenAI ChatGPT0 码力 | 340 页 | 12.14 MB | 4 月前3
julia 1.13.0 DEV. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 502 38.2 Public API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503 38.3 Sessions Idioms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1181 51.3 API docs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1182 51.4 Implementation Accessor Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1346 68.4 Query Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1347 68.5 TimeType-Period0 码力 | 2058 页 | 7.45 MB | 3 月前3
Julia 1.12.0 RC1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503 38.2 Public API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 504 38.3 Sessions Idioms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1179 51.3 API docs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1180 51.4 Implementation Accessor Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1344 68.4 Query Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1345 68.5 TimeType-Period0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 502 38.2 Public API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503 38.3 Sessions Idioms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1178 51.3 API docs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1179 51.4 Implementation Accessor Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1343 68.4 Query Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1344 68.5 TimeType-Period0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 502 38.2 Public API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503 38.3 Sessions Idioms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1178 51.3 API docs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1179 51.4 Implementation Accessor Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1343 68.4 Query Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1344 68.5 TimeType-Period0 码力 | 2057 页 | 7.44 MB | 3 月前3
julia 1.12.0 beta1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 502 38.2 Public API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503 38.3 Sessions Idioms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1170 50.3 API docs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1171 50.4 Implementation Accessor Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1335 67.4 Query Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1336 67.5 TimeType-Period0 码力 | 2047 页 | 7.41 MB | 3 月前3
Julia 1.11.4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491 38.2 Public API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 492CONTENTS viii 38 Idioms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1132 50.3 API docs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1133 50.4 Implementation Accessor Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1293 67.4 Query Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1294 67.5 TimeType-Period0 码力 | 2007 页 | 6.73 MB | 3 月前3
共 26 条
- 1
- 2
- 3













