Trait bevy::ecs::schedule::SystemSet

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§

fn dyn_clone(&self) -> Box<dyn SystemSet + 'static, Global>

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

Provided Methods§

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

Returns Some if this system set is a SystemTypeSet.

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 Clone for Box<dyn SystemSet + 'static, Global>

§

fn clone(&self) -> Box<dyn SystemSet + 'static, Global>

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
§

impl Hash for dyn SystemSet + 'static

§

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

Feeds this value into the given Hasher. Read more
§

impl IntoSystemSetConfig for Box<dyn SystemSet + 'static, Global>

§

fn in_set(self, set: impl FreeSystemSet) -> SystemSetConfig

Add to the provided set.
§

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

Add this set to the schedules’s default base set.
§

fn before<M>(self, set: impl IntoSystemSet<M>) -> SystemSetConfig

Run before all systems in set.
§

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

Run the systems in this set only if the Condition is true. Read more
§

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

Suppress warnings and errors that would result from systems in this set having ambiguities (conflicting access but indeterminate order) with any other system.
§

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

§

fn eq(&self, other: &(dyn SystemSet + 'static)) -> 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.
§

impl Eq for dyn SystemSet + 'static

Implementors§

§

impl SystemSet for CoreSetwhere CoreSet: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

impl SystemSet for StartupSetwhere StartupSet: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

impl SystemSet for AssetSetwhere AssetSet: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

impl SystemSet for RenderFogSystemswhere RenderFogSystems: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

impl SystemSet for RenderLightSystemswhere RenderLightSystems: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

impl SystemSet for SimulationLightSystemswhere SimulationLightSystems: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

impl SystemSet for RenderSetwhere RenderSet: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

impl SystemSet for PrepareAssetSetwhere PrepareAssetSet: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

impl SystemSet for ViewSetwhere ViewSet: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

impl SystemSet for VisibilitySystemswhere VisibilitySystems: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

impl SystemSet for WindowSystemwhere WindowSystem: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

impl SystemSet for SpriteSystemwhere SpriteSystem: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

impl SystemSet for TransformSystemwhere TransformSystem: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

impl SystemSet for RenderUiSystemwhere RenderUiSystem: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

impl SystemSet for UiSystemwhere UiSystem: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

impl SystemSet for InputSystemwhere InputSystem: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

impl SystemSet for CameraUpdateSystemwhere CameraUpdateSystem: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

impl SystemSet for TimeSystemwhere TimeSystem: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

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

§

impl<T> SystemSet for SystemTypeSet<T>