Implement convert From trait with additional argument

前端 未结 0 765
时光说笑
时光说笑 2020-12-16 11:27

I have a situation where I have 2 structs

struct A {
  pub one: number;
  pub two: number;
}

struct AWithThree {
  pub one: number;
  pub two: number;
  pub          


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