cognitive-engineering-lab / aquascope

Interactive visualizations of Rust at compile-time and run-time
https://cognitive-engineering-lab.github.io/aquascope/
MIT License
1.94k stars 44 forks source link

Visualize partially-moved fields #99

Open willcrichton opened 1 year ago

willcrichton commented 1 year ago

Currently, only variables are grayed out when moved. But we should also gray out partial moves of individual struct fields. For instance in this diagram: https://rust-book.cs.brown.edu/ch05-01-defining-structs.html#creating-instances-from-other-instances-with-struct-update-syntax

Screen Shot 2023-08-08 at 3 18 56 PM