Requre a type implimenting a trait be repr(packed)

后端 未结 0 681
误落风尘
误落风尘 2021-01-01 15:18

For some OpenGL code, I created a trait Vertex. currently it looks like this

trait Vertex: Sized + Clone {
//...
}

Because of th

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