pub trait SystemSet: DynHash + Debug + Send + Sync + 'static {
// Required method
fn dyn_clone(&self) -> Box<dyn SystemSet + 'static, Global>;
// Provided methods
fn system_type(&self) -> Option<TypeId> { ... }
fn is_base(&self) -> bool { ... }
}
Expand description
Types that identify logical groups of systems.
Required Methods§
Provided Methods§
fn system_type(&self) -> Option<TypeId>
fn system_type(&self) -> Option<TypeId>
Returns Some
if this system set is a SystemTypeSet
.
fn is_base(&self) -> bool
fn is_base(&self) -> bool
Returns true
if this set is a “base system set”. Systems
can only belong to one base set at a time. Systems and Sets
can only be added to base sets using specialized in_base_set
APIs. This enables “mutually exclusive” behaviors. It also
enables schedules to have a “default base set”, which can be used
to apply default configuration to systems.
Trait Implementations§
§impl IntoSystemSetConfig for Box<dyn SystemSet + 'static, Global>
impl IntoSystemSetConfig for Box<dyn SystemSet + 'static, Global>
§fn in_set(self, set: impl FreeSystemSet) -> SystemSetConfig
fn in_set(self, set: impl FreeSystemSet) -> SystemSetConfig
Add to the provided
set
.§fn in_base_set(self, set: impl BaseSystemSet) -> SystemSetConfig
fn in_base_set(self, set: impl BaseSystemSet) -> SystemSetConfig
Add to the provided “base”
set
. For more information on base sets, see SystemSet::is_base
.§fn in_default_base_set(self) -> SystemSetConfig
fn in_default_base_set(self) -> SystemSetConfig
Add this set to the schedules’s default base set.
§fn before<M>(self, set: impl IntoSystemSet<M>) -> SystemSetConfig
fn before<M>(self, set: impl IntoSystemSet<M>) -> SystemSetConfig
Run before all systems in
set
.§fn after<M>(self, set: impl IntoSystemSet<M>) -> SystemSetConfig
fn after<M>(self, set: impl IntoSystemSet<M>) -> SystemSetConfig
Run after all systems in
set
.§fn run_if<M>(self, condition: impl Condition<M>) -> SystemSetConfig
fn run_if<M>(self, condition: impl Condition<M>) -> SystemSetConfig
§fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> SystemSetConfig
fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> SystemSetConfig
Suppress warnings and errors that would result from systems in this set having ambiguities
(conflicting access but indeterminate order) with systems in
set
.§fn ambiguous_with_all(self) -> SystemSetConfig
fn ambiguous_with_all(self) -> SystemSetConfig
Suppress warnings and errors that would result from systems in this set having ambiguities
(conflicting access but indeterminate order) with any other system.