Skip to content
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

Added App::with_component_hooks #16977

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
CI fixes 2
  • Loading branch information
Freya Pines authored and Freya Pines committed Dec 26, 2024
commit 76d92159a2412f6bb17bb53448ea65ce49454144
5 changes: 1 addition & 4 deletions crates/bevy_app/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1346,10 +1346,7 @@ impl App {
/// });
/// });
/// ```
pub fn with_component_hooks<T>(
&mut self,
hooks: impl Fn(&mut ComponentHooks)
) -> &mut Self
pub fn with_component_hooks<T>(&mut self, hooks: impl Fn(&mut ComponentHooks)) -> &mut Self
where
T: Component,
{
Expand Down
Loading