Rust macro: get ident (or varibale name) from fiven expr?

后端 未结 0 1201
悲&欢浪女
悲&欢浪女 2020-12-30 02:43

I have a constant value defined by a variable:

const VAL : usize = 32;

I want to make a function like this:

macro_rules! valfn         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题