Trait bevy::ecs::prelude::SystemSet

pub trait SystemSet: 'static + Send + Sync + Debug {
    // Required methods
    fn dyn_clone(&self) -> Box<dyn SystemSet>;
    fn as_dyn_eq(&self) -> &(dyn DynEq + 'static);
    fn dyn_hash(&self, state: &mut dyn Hasher);

    // Provided methods
    fn system_type(&self) -> Option<TypeId> { ... }
    fn is_anonymous(&self) -> bool { ... }
    fn intern(&self) -> Interned<dyn SystemSet>
       where Self: Sized { ... }
}
Expand description

Types that identify logical groups of systems.

Required Methods§

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

Clones this SystemSet.

fn as_dyn_eq(&self) -> &(dyn DynEq + 'static)

Casts this value to a form where it can be compared with other type-erased values.

fn dyn_hash(&self, state: &mut dyn Hasher)

Feeds this value into the given Hasher.

Provided Methods§

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

Returns Some if this system set is a SystemTypeSet.

fn is_anonymous(&self) -> bool

Returns true if this system set is an AnonymousSet.

fn intern(&self) -> Interned<dyn SystemSet>
where Self: Sized,

Returns an Interned value corresponding to self.

Trait Implementations§

§

impl Hash for dyn SystemSet

§

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

Feeds this value into the given Hasher. Read more
§

impl Internable for dyn SystemSet

§

fn leak(&self) -> &'static dyn SystemSet

Creates a static reference to self, possibly leaking memory.
§

fn ref_eq(&self, other: &(dyn SystemSet + 'static)) -> bool

Returns true if the two references point to the same value.
§

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

Feeds the reference to the hasher.
§

impl PartialEq for dyn SystemSet

§

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

Implementors§

§

impl SystemSet for AccessibilitySystem
where AccessibilitySystem: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

impl SystemSet for GizmoRenderSystem
where GizmoRenderSystem: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

impl SystemSet for AssetEvents
where AssetEvents: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

impl SystemSet for TrackAssets
where TrackAssets: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

impl SystemSet for RumbleSystem
where RumbleSystem: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

impl SystemSet for UpdateGizmoMeshes
where UpdateGizmoMeshes: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

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

§

impl SystemSet for ExtractMeshesSet
where ExtractMeshesSet: 'static + Send + Sync + Clone + Eq + Debug + Hash,

§

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

§

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

§

impl SystemSet for Interned<dyn SystemSet>

§

impl SystemSet for AnonymousSet

§

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

§

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

§

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

§

impl<T> SystemSet for SystemTypeSet<T>