Cannot index into a value of type Foo

Is there a way to add index functionality of a Struct?

Can you provide any context?

Implement Index and optionally IndexMut.


This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.