Skip to main content

SupportedSystemParamTuple

Trait SupportedSystemParamTuple 

Source
pub trait SupportedSystemParamTuple: Tuple { }
Expand description

Compile-time marker for the System-parameter tuples accepted by the managed first-slice scheduler.

Sim;Logic implements this sealed trait for generation-checked crate::query::Query, crate::query::Single, crate::collision::CircleOverlapEntities, crate::collision::RectangleOverlapEntities, Res, ResMut, crate::resources::AppRes, crate::resources::AppResMut, its own read-only frame parameters, and LogicCommands. Raw Bevy Query or Single, raw Entity, and parameters with initialization-time World access, including Bevy Local<T: FromWorld>, are intentionally excluded. Typed event parameters register their channels automatically when a System is added. Application Resource parameters register a required type and are forbidden in Startup.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§