Apparently this is what UnsafeCell is for, and the code I wrote before wasn't technically correct, even thought it worked in practice. Hooray for doing things properly! |
||
|---|---|---|
| example_scenes | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| todo.txt | ||
Apparently this is what UnsafeCell is for, and the code I wrote before wasn't technically correct, even thought it worked in practice. Hooray for doing things properly! |
||
|---|---|---|
| example_scenes | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| todo.txt | ||