Implement trait for base type (float)

后端 未结 0 2010
梦如初夏
梦如初夏 2021-01-16 07:10

I want to work with rings, so I have a trait RingOps and I want float to be a part of it. I think float implements each supertype so deriving would be great, but if not, how

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