Trait valence::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

Implementations on Foreign Types§

source§

impl SystemSet for WriteAdvancementPacketToClientsSet

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

Implementors§

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

impl SystemSet for Interned<dyn SystemSet>

§

impl SystemSet for AnonymousSet

§

impl<T> SystemSet for SystemTypeSet<T>