I wanted to write about an idea that’s been kicking around in the back of my mind for some time. I call it view types. The basic idea is to give a way for an &mut or & reference to identify which fields it is actually going to access. The main use case for this is having “disjoint” methods that don’t interfere with one another.| smallcultfollowing.com
In the previous post, I described the goal of Rust’s Pin type and the history of how it| without.boats