Can i create string enum in Rust?

前端 未结 0 1336
情深已故
情深已故 2020-11-27 23:20

I am wondering is it possible to create enum with constant string values in Rust. On the SO, I found this question: How do I get an enum as a string? which was

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