I've created an example repo that shows how ffi could be modeled between rust and C#, and specifically makes a rust iterator ffi over to a C# IEnumerable<T>
and shows how direct it can be with some boilerplate code.
2 Likes