Repository navigation
[Merged by Bors] - Add AND/OR combinators for run conditions #7605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
50bd3b0
add a struct for making generic system combinators
joseph-gio 7d3c53e
implement `PipeSystem` using `CombinatorSystem`
joseph-gio f2d5b08
and `and_then`/`or_else` combinators
joseph-gio 6fa420a
tweak a safety comment
joseph-gio 8e2579d
add docs to `and_then` and `or_else`
joseph-gio d91d906
add docs to `CombinatorSystem`
joseph-gio 78524ba
add a doctest to `Combine`
joseph-gio d353e06
update doctest
joseph-gio 435c657
fix some mistakes in the doctest
joseph-gio 40ab70a
typo
joseph-gio 2b76184
use `IntoSystem` properly
joseph-gio 5a437c6
`resource` -> `state`
joseph-gio 1fd4d1e
reorder generics
joseph-gio d76bc89
derive eq
joseph-gio 9d212e8
update renamed variables
joseph-gio 892b1da
use fully qualiified `Cow`
joseph-gio c25c564
fix a where clause
joseph-gio b775326
simplify `Combine::combine`
joseph-gio f6e3fbc
remove `Combine::combine_exclusive`
joseph-gio 6cd5eef
add safety comments to `run_unsafe`
joseph-gio 685c712
remove some unnecessary fully qualified types
joseph-gio affe2d9
use `UnsafeCell` to retain lifetimes
joseph-gio c077ed1
improve safety comments for `CombinatorSystem`
joseph-gio 6f2a8d0
add a note pointing to the docs on `Combine`
joseph-gio 3dcfc0b
document members of `Combine` trait
joseph-gio 7a4c5a5
use a correct parameter name
joseph-gio a09eb71
add a doctest to `and_then`
joseph-gio 0a26bbd
add a doctest to `or_else`
joseph-gio 514e4ca
add a missing derive
joseph-gio 5e948c7
`state` -> `resource`
joseph-gio ef26671
declare a forgotten function
joseph-gio b1ddab8
add docs to `AndThen`/`OrElse` typedefs
joseph-gio 96301c8
add `Condition<>` to the prelude
joseph-gio 174e75f
Merge remote-tracking branch 'upstream/main' into combine-system
joseph-gio caafd21
Update crates/bevy_ecs/src/system/combinator.rs
joseph-gio 1302b62
remove an extra word
joseph-gio 9c1ed08
combine default system sets
joseph-gio 03f7e40
Merge remote-tracking branch 'upstream/main' into combine-system
joseph-gio 5a14d65
add a note about default short circuiting behavior
joseph-gio 35bfba1
add `and_then` to the example for run conditions
joseph-gio File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.