Best Way To Mutate Arrays in Structs?

前端 未结 0 1580
囚心锁ツ
囚心锁ツ 2020-12-13 05:35

I have a struct like the following

struct Foo {
   x: [i8;64]
   y: i8
}

And I want to update a value inside array x in foo when I pass it th

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