flâneur — a map of the web's best reading

The Better Alternative to Lifetime GATs - Sabrina Jewson

sabrinajewson.org · 6,710 words · saved by 1 readers

Update (2022-05-30): danielhenrymantilla recently released a crate, nougat, which provides a proc macro that allows you to use the technique presented in this article with the same syntax as regular GATs. I encourage you to check it out!

The Better Alternative to Lifetime GATs - Sabrina Jewson The Better Alternative to Lifetime GATs 2022-05-01 (updated 2022-05-30 ) Update (2022-05-30): danielhenrymantilla recently released a crate, nougat , which provides a proc macro that allows you to use the technique presented in this article with the same syntax as regular GATs. I encourage you to check it out! Where real GATs fall short GATs are an unstable feature of Rust, likely to be stabilized in the next few versions, that allow you to add generic parameters on associated types in traits. The motivating example for this feature is t

Explore this link on the map →

related reading