Skip to main content

IntoSystemConfig

Trait IntoSystemConfig 

Source
pub trait IntoSystemConfig<Params> {
Show 14 methods // Required method fn into_config(self) -> SystemConfig; // Provided methods fn label(self, l: &'static str) -> SystemConfig where Self: Sized { ... } fn in_set<S>(self) -> SystemConfig where S: SystemSet, Self: Sized { ... } fn before(self, target: &'static str) -> SystemConfig where Self: Sized { ... } fn before_set<S>(self) -> SystemConfig where S: SystemSet, Self: Sized { ... } fn after(self, target: &'static str) -> SystemConfig where Self: Sized { ... } fn after_set<S>(self) -> SystemConfig where S: SystemSet, Self: Sized { ... } fn reads<C>(self) -> SystemConfig where C: 'static, Self: Sized { ... } fn writes<C>(self) -> SystemConfig where C: 'static, Self: Sized { ... } fn reads_res<C>(self) -> SystemConfig where C: 'static, Self: Sized { ... } fn writes_res<C>(self) -> SystemConfig where C: 'static, Self: Sized { ... } fn exclusive(self) -> SystemConfig where Self: Sized { ... } fn in_phase(self, phase: Phase) -> SystemConfig where Self: Sized { ... } fn run_if<F>(self, condition: F) -> SystemConfig where F: FnMut(&World) -> bool + Send + Sync + 'static, Self: Sized { ... }
}

Required Methods§

Provided Methods§

Source

fn label(self, l: &'static str) -> SystemConfig
where Self: Sized,

Source

fn in_set<S>(self) -> SystemConfig
where S: SystemSet, Self: Sized,

Source

fn before(self, target: &'static str) -> SystemConfig
where Self: Sized,

Source

fn before_set<S>(self) -> SystemConfig
where S: SystemSet, Self: Sized,

Source

fn after(self, target: &'static str) -> SystemConfig
where Self: Sized,

Source

fn after_set<S>(self) -> SystemConfig
where S: SystemSet, Self: Sized,

Source

fn reads<C>(self) -> SystemConfig
where C: 'static, Self: Sized,

Source

fn writes<C>(self) -> SystemConfig
where C: 'static, Self: Sized,

Source

fn reads_res<C>(self) -> SystemConfig
where C: 'static, Self: Sized,

Source

fn writes_res<C>(self) -> SystemConfig
where C: 'static, Self: Sized,

Source

fn exclusive(self) -> SystemConfig
where Self: Sized,

Source

fn in_phase(self, phase: Phase) -> SystemConfig
where Self: Sized,

Source

fn run_if<F>(self, condition: F) -> SystemConfig
where F: FnMut(&World) -> bool + Send + Sync + 'static, Self: Sized,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl IntoSystemConfig<()> for SystemConfig

Source§

impl<Params, T> IntoSystemConfig<Params> for T
where T: IntoSystem<Params>,