pub trait SystemSet: DynHash + Debug + Send + Sync + 'static {
// Required method
fn dyn_clone(&self) -> Box<dyn SystemSet>;
// 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§
sourcefn system_type(&self) -> Option<TypeId>
fn system_type(&self) -> Option<TypeId>
Returns Some
if this system set is a SystemTypeSet
.
sourcefn 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.