How to store a struct that uses monomorphization (static dispatch) into a field of another struct?

前端 未结 0 365
一生所求
一生所求 2021-01-07 07:15

In the code below you can see my attempt at storing the struct in question in another struct.

trait example_trait_object {}

struct example_struct

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