• 4 Posts
  • 7 Comments
Joined 4 years ago
cake
Cake day: December 26th, 2020

help-circle









  • I think this sounds possible. If you don’t use a Box<> or similar container (and instead using something like a dyn trait), you know that the compiler knows the real size of the instance you are passing, so no dynamic polymorphism is being used.

    If you post some code here, someone might be able to suggest a Rustish way of doing it?