forked from bevyengine/bevy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
impl Command for <impl FnOnce(&mut World)>
closes bevyengine#2899 Implements Command for F where F: FnOnce(&mut World) + Send + Sync + 'static so that within a system, a simple one-off command can be added without having to define a new type for the command.
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 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