Description
On discord https://discord.com/channels/691052431525675048/749332104487108618/927078698035855420 while working on documenting bevy_assets @manokara noticed Handle::as_weak() takes a type U and wondered if "the handle would be invalid if U is different from T?"
@mockersf noted that "there's one place where that is used to convert a Handle to a Handle," and upon further investigation concluded that "the FontAtlasSet asset storage is handled manually, to have its handles in sync with fonts."
@mockersf said that this is "potentially bad and would require more thinking to improve," so I have created this issue to see what others think of the degree to which this is potentially bad and be a starting point for discussions of how to improve this.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status