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§

source

fn dyn_clone(&self) -> Box<dyn SystemSet>

Creates a boxed clone of the label corresponding to this system set.

Provided Methods§

source

fn system_type(&self) -> Option<TypeId>

Returns Some if this system set is a SystemTypeSet.

source

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§

source§

impl Clone for Box<dyn SystemSet>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Hash for dyn SystemSet

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
source§

impl PartialEq<dyn SystemSet + 'static> for dyn SystemSet

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Eq for dyn SystemSet

Implementors§

source§

impl<S: States> SystemSet for OnUpdate<S>where Self: 'static + Send + Sync + Clone + Eq + Debug + Hash,

source§

impl<T> SystemSet for SystemTypeSet<T>