Skip to content
Discussion options

You must be logged in to vote

found out that there is ReleaseStateQueryData that allows you to return 'static for the second lifetime if the QueryData allows it. https://docs.rs/bevy/latest/bevy/ecs/query/trait.ReleaseStateQueryData.html

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@hymm
Comment options

hymm Oct 19, 2025
Collaborator

Answer selected by Strackeror
@Strackeror
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants