Struct bevy_ecs::schedule::SystemConfig
source · pub struct SystemConfig { /* private fields */ }
Expand description
A System
with scheduling metadata.
Trait Implementations§
source§impl IntoSystemConfig<(), SystemConfig> for BoxedSystem<(), ()>
impl IntoSystemConfig<(), SystemConfig> for BoxedSystem<(), ()>
source§fn in_set(self, set: impl FreeSystemSet) -> Config
fn in_set(self, set: impl FreeSystemSet) -> Config
Add to
set
membership.source§fn in_base_set(self, set: impl BaseSystemSet) -> Config
fn in_base_set(self, set: impl BaseSystemSet) -> Config
Add to the provided “base”
set
. For more information on base sets, see SystemSet::is_base
.source§fn no_default_base_set(self) -> Config
fn no_default_base_set(self) -> Config
Don’t add this system to the schedules’s default set.
source§fn before<M>(self, set: impl IntoSystemSet<M>) -> Config
fn before<M>(self, set: impl IntoSystemSet<M>) -> Config
Run before all systems in
set
.source§fn after<M>(self, set: impl IntoSystemSet<M>) -> Config
fn after<M>(self, set: impl IntoSystemSet<M>) -> Config
Run after all systems in
set
.source§fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> Config
fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> Config
Suppress warnings and errors that would result from this system having ambiguities
(conflicting access but indeterminate order) with systems in
set
.source§fn ambiguous_with_all(self) -> Config
fn ambiguous_with_all(self) -> Config
Suppress warnings and errors that would result from this system having ambiguities
(conflicting access but indeterminate order) with any other system.
source§impl IntoSystemConfig<(), SystemConfig> for SystemConfig
impl IntoSystemConfig<(), SystemConfig> for SystemConfig
source§fn in_base_set(self, set: impl SystemSet) -> Self
fn in_base_set(self, set: impl SystemSet) -> Self
Add to the provided “base”
set
. For more information on base sets, see SystemSet::is_base
.source§fn no_default_base_set(self) -> SystemConfig
fn no_default_base_set(self) -> SystemConfig
Don’t add this system to the schedules’s default set.
source§fn before<M>(self, set: impl IntoSystemSet<M>) -> Self
fn before<M>(self, set: impl IntoSystemSet<M>) -> Self
Run before all systems in
set
.source§fn after<M>(self, set: impl IntoSystemSet<M>) -> Self
fn after<M>(self, set: impl IntoSystemSet<M>) -> Self
Run after all systems in
set
.source§fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> Self
fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> Self
Suppress warnings and errors that would result from this system having ambiguities
(conflicting access but indeterminate order) with systems in
set
.source§fn ambiguous_with_all(self) -> Self
fn ambiguous_with_all(self) -> Self
Suppress warnings and errors that would result from this system having ambiguities
(conflicting access but indeterminate order) with any other system.
source§impl<Marker, F> IntoSystemConfig<Marker, SystemConfig> for Fwhere
F: IntoSystem<(), (), Marker>,
impl<Marker, F> IntoSystemConfig<Marker, SystemConfig> for Fwhere F: IntoSystem<(), (), Marker>,
source§fn in_set(self, set: impl FreeSystemSet) -> Config
fn in_set(self, set: impl FreeSystemSet) -> Config
Add to
set
membership.source§fn in_base_set(self, set: impl BaseSystemSet) -> Config
fn in_base_set(self, set: impl BaseSystemSet) -> Config
Add to the provided “base”
set
. For more information on base sets, see SystemSet::is_base
.source§fn no_default_base_set(self) -> Config
fn no_default_base_set(self) -> Config
Don’t add this system to the schedules’s default set.
source§fn before<M>(self, set: impl IntoSystemSet<M>) -> Config
fn before<M>(self, set: impl IntoSystemSet<M>) -> Config
Run before all systems in
set
.source§fn after<M>(self, set: impl IntoSystemSet<M>) -> Config
fn after<M>(self, set: impl IntoSystemSet<M>) -> Config
Run after all systems in
set
.source§fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> Config
fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> Config
Suppress warnings and errors that would result from this system having ambiguities
(conflicting access but indeterminate order) with systems in
set
.source§fn ambiguous_with_all(self) -> Config
fn ambiguous_with_all(self) -> Config
Suppress warnings and errors that would result from this system having ambiguities
(conflicting access but indeterminate order) with any other system.
Auto Trait Implementations§
impl !RefUnwindSafe for SystemConfig
impl Send for SystemConfig
impl Sync for SystemConfig
impl Unpin for SystemConfig
impl !UnwindSafe for SystemConfig
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.