Struct bevy_ecs::schedule::SystemTypeSet
source · pub struct SystemTypeSet<T: 'static>(_);
Expand description
A SystemSet
grouping instances of the same function.
This kind of set is automatically populated and thus has some special rules:
- You cannot manually add members.
- You cannot configure them.
- You cannot order something relative to one if it has more than one member.
Trait Implementations§
source§impl<T> Clone for SystemTypeSet<T>
impl<T> Clone for SystemTypeSet<T>
source§impl<T> Debug for SystemTypeSet<T>
impl<T> Debug for SystemTypeSet<T>
source§impl<T> Hash for SystemTypeSet<T>
impl<T> Hash for SystemTypeSet<T>
source§impl<T> PartialEq<SystemTypeSet<T>> for SystemTypeSet<T>
impl<T> PartialEq<SystemTypeSet<T>> for SystemTypeSet<T>
source§impl<T> SystemSet for SystemTypeSet<T>
impl<T> SystemSet for SystemTypeSet<T>
source§fn system_type(&self) -> Option<TypeId>
fn system_type(&self) -> Option<TypeId>
Returns
Some
if this system set is a SystemTypeSet
.source§fn dyn_clone(&self) -> Box<dyn SystemSet>
fn dyn_clone(&self) -> Box<dyn SystemSet>
Creates a boxed clone of the label corresponding to this system set.
source§fn is_base(&self) -> bool
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.impl<T> Copy for SystemTypeSet<T>
impl<T> Eq for SystemTypeSet<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for SystemTypeSet<T>
impl<T> Send for SystemTypeSet<T>
impl<T> Sync for SystemTypeSet<T>
impl<T> Unpin for SystemTypeSet<T>
impl<T> UnwindSafe for SystemTypeSet<T>
Blanket Implementations§
source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere T: Any,
source§fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.