HN2new | past | comments | ask | show | jobs | submit | tlxio's commentslogin

Would you happen to have (sample) or open-source Rust code out there demonstrating this approach? I'm very curious to learn more.

For example; if you have a progressbar that needs to be updated continuously, you do what? Upon every `tick` of your Rust engine you send a new struct with `ProgressBar(percentage=x)`? Or do the structs have unique identifiers so that the UI code can just update that one element and its properties instead of re-rendering the entire screen?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: