Trait bevy_ecs::schedule::SystemSet

source ·
pub trait SystemSet: 'static + Send + Sync + Debug {
    // Required methods
    fn dyn_clone(&self) -> Box<dyn SystemSet>;
    fn as_dyn_eq(&self) -> &dyn DynEq;
    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§

source

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

Clones this SystemSet.

source

fn as_dyn_eq(&self) -> &dyn DynEq

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

source

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

Feeds this value into the given Hasher.

Provided Methods§

source

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

Returns Some if this system set is a SystemTypeSet.

source

fn is_anonymous(&self) -> bool

Returns true if this system set is an AnonymousSet.

source

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

Returns an Interned value corresponding to self.

Trait Implementations§

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 Internable for dyn SystemSet

source§

fn leak(&self) -> &'static Self

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

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

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

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

Feeds the reference to the hasher.
source§

impl PartialEq 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§