Jextract could generate a slice accessor for struct arrays in the struct classes it generates.
This accessor would look something like this:
MemorySegment slice(MemorySegment arr, long index)
Where 'arr' is an array of structs, and this method would return a single struct slice of that array.
This accessor would look something like this:
MemorySegment slice(MemorySegment arr, long index)
Where 'arr' is an array of structs, and this method would return a single struct slice of that array.