书栈网 · BookStack 本次搜索耗时 0.017 秒,为您找到 4310 个相关结果.
  • Embedding Deno

    163 2022-02-21 《Deno v1.18.3 Manual》
    Embedding Deno Embedding Deno Deno consists of multiple parts, one of which is deno_core . This is a rust crate that can be used to embed a JavaScript runtime into your rust app...
  • Embedding Deno

    190 2021-09-20 《Deno v1.13.2 Manual》
    Embedding Deno Embedding Deno Deno consists of multiple parts, one of which is deno_core . This is a rust crate that can be used to embed a JavaScript runtime into your rust app...
  • Building from source

    Building from source Step 1: Install pre-requisites Step 2: Clone the tag Bonus tip Step 3: Build it! note Step 4: Get the binaries Step 5: Run it! Building from source O...
  • 标准库介绍

    1507 2018-02-06 《RustPrimer 中文版》
    标准库示例 标准库示例 好了,本书到这里也接近完结了。相信你一在学习了这么多内容的之后,一定跃跃欲试了吧?下面,我们将以代码为主,讲解几个利用std 库,即标准库来做的例子。希望大家能从中学到一点写法,并开始自己的Rust之旅。 注: 由于笔者的电脑是openSUSE Linux的,所以本章所有代码均只在 openSUSE Leap 42.1 &...
  • 22. Welcome

    Welcome to Day 3 Welcome to Day 3 Today, we will cover some more advanced topics of Rust: Traits: deriving traits, default methods, and important standard library traits. G...
  • 在impl中省略生命周期

    在 impl 中省略生命周期 在 impl 中省略生命周期 在编写 impl 时,你可以提及生命周期而不将它们绑定在参数列表中。 在 Rust 2015 中: impl < 'a> Iterator for MyIter<' a > { ... } impl < 'a, ' b > SomeTrait < 'a> for...
  • 10.3. Validating References with Lifetimes

    Validating References with Lifetimes Preventing Dangling References with Lifetimes The Borrow Checker Generic Lifetimes in Functions Lifetime Annotation Syntax Lifetime Annotat...
  • 4.2.2. Embed WASM funcs

    Embed a Wasm function Rust function compiled into WebAssembly Go host application Embed a Wasm function The WasmEdge Go SDK allows WebAssembly functions to be embedded into a...
  • 9.2. 开发工具

    测试和工具 测试 代码检查与格式化 性能分析 使用 LLDB 调试 Debugging with LLDB V8 选项 持续的性能测试 测试和工具 测试 测试 deno : # 运行所有测试套件: cargo test # 只测试 cli/js/: cargo test js_unit_tests 测试 ...
  • 模式匹配

    1090 2018-02-06 《RustPrimer 中文版》
    模式匹配 模式匹配 除了我们常见的控制语句之外,Rust还提供了一个更加强大的关键字——match 。但是,需要指出的一点是,match只是匹配,要发挥其全部威力,还需要模式的配合。本章,我们就将的对Rust的模式匹配进行一番探索。 本章内容: match关键字 模式 pattern