rust: If an enum has all variants derived from a generic struct, what's the best way to inspect the generic stored in the enum?

后端 未结 0 1472
野趣味
野趣味 2021-02-19 08:35

I\'ve condensed things down to where I have a Generic Adapter, which is stored in an enum, that is non-generic. This looks like:

enum Collective {
    StateTable(         


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