-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I got better at Rust, and realized that we don't need this trait (which I added a year ago). We can just make `RenderLoopClosureImpl` implement `FnMut` and keep the method signatures the same as before. But then it turns out that you can't implement the `Fn` without some unstable features, so I came up with something else. This reverses a lot of the changes from #286, but still has the same effect: `cargo run --example persistent_point_cloud` does not give an error when the window is closed (which is what drove me to make that PR in the first place.)
- Loading branch information
1 parent
87a668f
commit 9662bd1
Showing
5 changed files
with
30 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters