Struct bevy_app::SystemAppConfig
source · pub struct SystemAppConfig { /* private fields */ }
Trait Implementations§
source§impl IntoSystemAppConfig<()> for SystemAppConfig
impl IntoSystemAppConfig<()> for SystemAppConfig
source§fn into_app_config(self) -> SystemAppConfig
fn into_app_config(self) -> SystemAppConfig
Converts into a
SystemAppConfig
.source§fn in_schedule(self, schedule: impl ScheduleLabel) -> SystemAppConfig
fn in_schedule(self, schedule: impl ScheduleLabel) -> SystemAppConfig
Adds the system to the provided
schedule
. Read moresource§fn on_startup(self) -> SystemAppConfig
fn on_startup(self) -> SystemAppConfig
Adds the system to
CoreSchedule::Startup
.
This is a shorthand for self.in_schedule(CoreSchedule::Startup)
. Read moresource§impl IntoSystemConfig<(), SystemAppConfig> for SystemAppConfig
impl IntoSystemConfig<(), SystemAppConfig> for SystemAppConfig
source§fn in_set(self, set: impl FreeSystemSet) -> Self
fn in_set(self, set: impl FreeSystemSet) -> Self
Add to
set
membership.source§fn in_base_set(self, set: impl BaseSystemSet) -> Self
fn in_base_set(self, set: impl BaseSystemSet) -> Self
Add to the provided “base”
set
. For more information on base sets, see SystemSet::is_base
.source§fn no_default_base_set(self) -> Self
fn no_default_base_set(self) -> Self
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.
Auto Trait Implementations§
impl !RefUnwindSafe for SystemAppConfig
impl Send for SystemAppConfig
impl Sync for SystemAppConfig
impl Unpin for SystemAppConfig
impl !UnwindSafe for SystemAppConfig
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.