Getting the bytes of a `str` at compile-time

后端 未结 0 1950
半阙折子戏
半阙折子戏 2020-11-22 07:33

Is there any way to get the bytes of a str at compile-time in Rust? Specifically, I want to create a const like:



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