Module bevy_ecs::system::lifetimeless
source · Expand description
Contains type aliases for built-in SystemParam
s with 'static
lifetimes.
This makes it more convenient to refer to these types in contexts where
explicit lifetime annotations are required.
Note that this is entirely safe and tracks lifetimes correctly. This purely exists for convenience.
You can’t instantiate a static SystemParam
, you’ll always end up with
Res<'w, T>
, ResMut<'w, T>
or &'w T
bound to the lifetime of the provided
&'w World
.