原文:【译】Rust宏:教程与示例(一)

原文标题:Macros in Rust: A tutorial with examples 原文链接:https: blog.logrocket.com macros in rust a tutorial with examples 公众号: Rust 碎碎念 翻译 by: Praying 在本文中,我们将会涵盖你需要了解的关于 Rust 宏 macro 的一切,包括对 Rust 宏的介绍和如何 ...

2021-02-27 21:59 0 1465 推荐指数:

查看详情

rust

Rust 中的属性,可以分为以下四大类。 Macro attributes - 属性 Derive macro helper attributes - 派生辅助属性 Tool attributes - 工具属性 Built-in attributes - 内建属性 ...

Fri Dec 25 23:32:00 CST 2020 0 341
Rust编写

Rust提供了一个强大的, 可进行元编程.看起来和函数很像, 只不过名称末尾有一个! 一句换概括: 用代码生成代码, 控制代码, 扩展代码 写一个最简单的 后边加!号的都是 可以传入参数的 ( expr ->表达式) 添加可变参数 (就是**args ...

Fri Feb 18 22:33:00 CST 2022 0 760
Rust,无畏并发

原文链接:https://dev.to/imaculate3/fearless-concurrency-5fk8 > 原文标题:That's so Rusty! Fearless concurrency 公众号:Rust 碎碎念 翻译: Praying 并发程序 ...

Tue Nov 03 17:54:00 CST 2020 0 953
Rust 的 Result 类型入门

Rust 的 Result 类型入门 A Primer on Rust’s Result Type 译文 原文链接:https://medium.com/@JoeKreydt ...

Fri Apr 03 22:06:00 CST 2020 0 3427
】理解Rust中的Futures (一)

原文标题:Understanding Futures In Rust -- Part 1 原文链接:https://www.viget.com/articles/understanding-futures-in-rust-part-1/ 公众号: Rust 碎碎念 翻译 ...

Wed Dec 16 04:04:00 CST 2020 0 1130
】Arc 在 Rust 中是如何工作的

原文标题:How Arc works in Rust 原文链接:https://medium.com/@DylanKerler1/how-arc-works-in-rust-b06192acd0a6 公众号: Rust 碎碎念 翻译 by: Praying 原子引用 ...

Thu Nov 19 22:21:00 CST 2020 4 932
】理解Rust中的Futures(二)

原文标题:Understanding Futures in Rust -- Part 2 原文链接:https://www.viget.com/articles/understanding-futures-is-rust-part-2/ 公众号: Rust 碎碎念 翻译 ...

Thu Dec 24 00:31:00 CST 2020 3 693
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM