首页
Programming Q&A
登录
标签
rustRun nonconst function at com
rust - Run non-const function at compile-time and use the result as if it were const - Stack Overflow
In rust, the const fnmakes it possible for the compiler to compute the return value at compile-time.
rustRun nonconst function at compiletime and use the result as if it were constStack Overflow
admin
24天前
4
0