Pointer types

available on nightly stabilization


GATs allow code to be generic over "references to data". This can include Rc vs Arc, but also other more abstract situations.


(To be written.)


  • Pythonesque's comment covered one case where they wanted something like a pointer types pattern (I think) but had to work around it, as well as commits from Veloren that may be this pattern (but could also be "many modes").
  • evenyag writes about type-exercise-in-rust