开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
rust-macros

rust-macros

go

如何避免在涉及不同参数数量的 Rust 宏调用中出现冲突的实现问题?

英文: How to avoid conflicting implementation issue in a Rust macro involving invocations for differen...
huangapple 2023年8月8日150评论rust rust-macros
go

如何使用Derived-macro属性将一个通用结构体存储在Vec中?

英文: How can I use Derived-macro attribute to store a generic struct in a Vec? 问题 I'm working on impl...
huangapple 2023年7月17日166评论rust struct
go

一般化`macro_rules!`匹配

英文: Generalizing `macro_rules!` matches 问题 我有一个宏,根据提供的参数以稍微不同的方式调用另一个宏。 macro_rules! do_things { ($(...
huangapple 2023年7月13日116评论rust rust-macros
go

Creating a Macro in Rust to take a Struct and turning it into a Tuple of its field’s types in order.

英文: Creating a Macro in Rust to take a Struct and turning into a Tuple of its field's types in o...
huangapple 2023年6月13日122评论rust rust-macros
go

`tokio::pin` 如何改变变量的类型?

英文: How does `tokio::pin` change the type of variable? 问题 将 s 的类型从 alloc::string::String 更改为 core::p...
huangapple 2023年6月12日137评论rust rust-macros
go

生成一个组合元组 vec,使用宏。

英文: Generating a combination tuple vec using a macro 问题 I will provide the translation of the code p...
huangapple 2023年5月30日135评论rust rust-macros
go

如何在Rust中使用宏生成常量数组?

英文: how to generate const array by macro in Rust? 问题 你想通过宏生成这个常量数组: const EXPS: [i64; 9] = [1, 10_i6...
huangapple 2023年5月10日131评论rust rust-macros
go

Declarative marco isn't getting recursively invoked with repeated parameters

英文: Declarative marco isn't getting recursively invoked with repeated parameters 问题 I can help y...
huangapple 2023年5月6日121评论rust rust-macros
go

生成宏的Rust宏

英文: Rust macro to generate a macro 问题 I'm writing some macros that are all really similar (MWE the a...
huangapple 2023年3月7日139评论rust rust-macros
go

有没有在声明式宏迭代中进行“早期返回”的方法?

英文: Is there any way to "early return" in a declarative macro iterations? 问题 我对Rust的宏很陌生。 ...
huangapple 2023年2月27日127评论rust rust-macros

文章导航

1 2
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客17023711

热门标签

javascript python json spring-boot c# html flutter android sql java go c++ reactjs css spring arrays typescript node.js r pandas

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码