How to instantiate the same struct with different implementations of a trait?

后端 未结 0 1005
甜味超标
甜味超标 2021-01-06 05:10

I have a trait that is implemented by the same struct in different ways. In order to accomplish this I have different structs that have different implementations. For abstra

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