pub struct World {
pub entities: EntityStorage,
pub resources: ResourceStorage,
}
Expand description
Storage for entities and resources.
Fields§
§entities: EntityStorage
Storage for entities.
resources: ResourceStorage
Storage for resources.
Implementations§
source§impl World
impl World
sourcepub fn run<TParams, TReturn>(
&self,
f: impl Run<Self, TParams, TReturn>,
) -> TReturn
pub fn run<TParams, TReturn>( &self, f: impl Run<Self, TParams, TReturn>, ) -> TReturn
Runs the function with data borrowed from self
.
Examples found in repository?
examples/resources.rs (line 65)
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
fn main() {
let mut world = World::default();
world.entities.register::<Position>();
world.resources.insert(Lava::default());
world.resources.insert(FallenInLava::default());
world.entities.create((Position { y: 0 },));
world.entities.create((Position { y: 1 },));
world.entities.create((Position { y: 2 },));
world.entities.create((Position { y: 3 },));
world.entities.create((Position { y: 4 },));
world.entities.create((Position { y: 5 },));
for _ in 0..3 {
world.run(raise_lava);
world.run(update_fallen_in_lava);
destroy_fallen_in_lava(&mut world);
}
}
Trait Implementations§
source§impl<TFunc, TReturn> IntoSystem<World, (), TReturn> for TFunc
impl<TFunc, TReturn> IntoSystem<World, (), TReturn> for TFunc
source§impl<TFunc, TReturn, A> IntoSystem<World, (A,), TReturn> for TFunc
impl<TFunc, TReturn, A> IntoSystem<World, (A,), TReturn> for TFunc
source§impl<TFunc, TReturn, A, B> IntoSystem<World, (A, B), TReturn> for TFunc
impl<TFunc, TReturn, A, B> IntoSystem<World, (A, B), TReturn> for TFunc
source§impl<TFunc, TReturn, A, B, C> IntoSystem<World, (A, B, C), TReturn> for TFunc
impl<TFunc, TReturn, A, B, C> IntoSystem<World, (A, B, C), TReturn> for TFunc
source§impl<TFunc, TReturn, A, B, C, D> IntoSystem<World, (A, B, C, D), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D), TReturn>,
impl<TFunc, TReturn, A, B, C, D> IntoSystem<World, (A, B, C, D), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D), TReturn>,
source§impl<TFunc, TReturn, A, B, C, D, E> IntoSystem<World, (A, B, C, D, E), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E), TReturn>,
impl<TFunc, TReturn, A, B, C, D, E> IntoSystem<World, (A, B, C, D, E), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E), TReturn>,
source§impl<TFunc, TReturn, A, B, C, D, E, F> IntoSystem<World, (A, B, C, D, E, F), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F), TReturn>,
impl<TFunc, TReturn, A, B, C, D, E, F> IntoSystem<World, (A, B, C, D, E, F), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F), TReturn>,
source§impl<TFunc, TReturn, A, B, C, D, E, F, G> IntoSystem<World, (A, B, C, D, E, F, G), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F, G), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F, G), TReturn>,
impl<TFunc, TReturn, A, B, C, D, E, F, G> IntoSystem<World, (A, B, C, D, E, F, G), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F, G), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F, G), TReturn>,
source§impl<TFunc, TReturn, A, B, C, D, E, F, G, H> IntoSystem<World, (A, B, C, D, E, F, G, H), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F, G, H), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F, G, H), TReturn>,
impl<TFunc, TReturn, A, B, C, D, E, F, G, H> IntoSystem<World, (A, B, C, D, E, F, G, H), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F, G, H), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F, G, H), TReturn>,
source§impl<TFunc, TReturn, A, B, C, D, E, F, G, H, I> IntoSystem<World, (A, B, C, D, E, F, G, H, I), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F, G, H, I), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F, G, H, I), TReturn>,
impl<TFunc, TReturn, A, B, C, D, E, F, G, H, I> IntoSystem<World, (A, B, C, D, E, F, G, H, I), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F, G, H, I), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F, G, H, I), TReturn>,
source§impl<TFunc, TReturn, A, B, C, D, E, F, G, H, I, J> IntoSystem<World, (A, B, C, D, E, F, G, H, I, J), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J), TReturn>,
impl<TFunc, TReturn, A, B, C, D, E, F, G, H, I, J> IntoSystem<World, (A, B, C, D, E, F, G, H, I, J), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J), TReturn>,
source§impl<TFunc, TReturn, A, B, C, D, E, F, G, H, I, J, K> IntoSystem<World, (A, B, C, D, E, F, G, H, I, J, K), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K), TReturn>,
impl<TFunc, TReturn, A, B, C, D, E, F, G, H, I, J, K> IntoSystem<World, (A, B, C, D, E, F, G, H, I, J, K), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K), TReturn>,
source§impl<TFunc, TReturn, A, B, C, D, E, F, G, H, I, J, K, L> IntoSystem<World, (A, B, C, D, E, F, G, H, I, J, K, L), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K, L), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K, L), TReturn>,
impl<TFunc, TReturn, A, B, C, D, E, F, G, H, I, J, K, L> IntoSystem<World, (A, B, C, D, E, F, G, H, I, J, K, L), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K, L), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K, L), TReturn>,
source§impl<TFunc, TReturn, A, B, C, D, E, F, G, H, I, J, K, L, M> IntoSystem<World, (A, B, C, D, E, F, G, H, I, J, K, L, M), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M), TReturn>,
impl<TFunc, TReturn, A, B, C, D, E, F, G, H, I, J, K, L, M> IntoSystem<World, (A, B, C, D, E, F, G, H, I, J, K, L, M), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M), TReturn>,
source§impl<TFunc, TReturn, A, B, C, D, E, F, G, H, I, J, K, L, M, N> IntoSystem<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N), TReturn>,
impl<TFunc, TReturn, A, B, C, D, E, F, G, H, I, J, K, L, M, N> IntoSystem<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N), TReturn>,
source§impl<TFunc, TReturn, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> IntoSystem<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O), TReturn>,
impl<TFunc, TReturn, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> IntoSystem<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O), TReturn>,
source§impl<TFunc, TReturn, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> IntoSystem<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P), TReturn>,
impl<TFunc, TReturn, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> IntoSystem<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P), TReturn> for TFuncwhere
TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P), TReturn> + Send + Sync + 'static,
for<'a> &'a mut TFunc: Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P), TReturn>,
source§impl<TFunc, A, TReturn> Run<World, (A,), TReturn> for TFuncwhere
TFunc: FnOnce(A) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
impl<TFunc, A, TReturn> Run<World, (A,), TReturn> for TFuncwhere
TFunc: FnOnce(A) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
source§impl<TFunc, A, B, TReturn> Run<World, (A, B), TReturn> for TFuncwhere
TFunc: FnOnce(A, B) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
impl<TFunc, A, B, TReturn> Run<World, (A, B), TReturn> for TFuncwhere
TFunc: FnOnce(A, B) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
source§impl<TFunc, A, B, C, TReturn> Run<World, (A, B, C), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
impl<TFunc, A, B, C, TReturn> Run<World, (A, B, C), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
source§impl<TFunc, A, B, C, D, TReturn> Run<World, (A, B, C, D), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
impl<TFunc, A, B, C, D, TReturn> Run<World, (A, B, C, D), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
source§impl<TFunc, A, B, C, D, E, TReturn> Run<World, (A, B, C, D, E), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
impl<TFunc, A, B, C, D, E, TReturn> Run<World, (A, B, C, D, E), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
source§impl<TFunc, A, B, C, D, E, F, TReturn> Run<World, (A, B, C, D, E, F), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
impl<TFunc, A, B, C, D, E, F, TReturn> Run<World, (A, B, C, D, E, F), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
source§impl<TFunc, A, B, C, D, E, F, G, TReturn> Run<World, (A, B, C, D, E, F, G), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F, G) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>, <G as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
G: SystemBorrow<World>,
impl<TFunc, A, B, C, D, E, F, G, TReturn> Run<World, (A, B, C, D, E, F, G), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F, G) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>, <G as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
G: SystemBorrow<World>,
source§impl<TFunc, A, B, C, D, E, F, G, H, TReturn> Run<World, (A, B, C, D, E, F, G, H), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F, G, H) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>, <G as SystemParam>::Param<'_>, <H as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
G: SystemBorrow<World>,
H: SystemBorrow<World>,
impl<TFunc, A, B, C, D, E, F, G, H, TReturn> Run<World, (A, B, C, D, E, F, G, H), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F, G, H) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>, <G as SystemParam>::Param<'_>, <H as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
G: SystemBorrow<World>,
H: SystemBorrow<World>,
source§impl<TFunc, A, B, C, D, E, F, G, H, I, TReturn> Run<World, (A, B, C, D, E, F, G, H, I), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F, G, H, I) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>, <G as SystemParam>::Param<'_>, <H as SystemParam>::Param<'_>, <I as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
G: SystemBorrow<World>,
H: SystemBorrow<World>,
I: SystemBorrow<World>,
impl<TFunc, A, B, C, D, E, F, G, H, I, TReturn> Run<World, (A, B, C, D, E, F, G, H, I), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F, G, H, I) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>, <G as SystemParam>::Param<'_>, <H as SystemParam>::Param<'_>, <I as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
G: SystemBorrow<World>,
H: SystemBorrow<World>,
I: SystemBorrow<World>,
source§impl<TFunc, A, B, C, D, E, F, G, H, I, J, TReturn> Run<World, (A, B, C, D, E, F, G, H, I, J), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F, G, H, I, J) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>, <G as SystemParam>::Param<'_>, <H as SystemParam>::Param<'_>, <I as SystemParam>::Param<'_>, <J as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
G: SystemBorrow<World>,
H: SystemBorrow<World>,
I: SystemBorrow<World>,
J: SystemBorrow<World>,
impl<TFunc, A, B, C, D, E, F, G, H, I, J, TReturn> Run<World, (A, B, C, D, E, F, G, H, I, J), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F, G, H, I, J) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>, <G as SystemParam>::Param<'_>, <H as SystemParam>::Param<'_>, <I as SystemParam>::Param<'_>, <J as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
G: SystemBorrow<World>,
H: SystemBorrow<World>,
I: SystemBorrow<World>,
J: SystemBorrow<World>,
source§impl<TFunc, A, B, C, D, E, F, G, H, I, J, K, TReturn> Run<World, (A, B, C, D, E, F, G, H, I, J, K), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F, G, H, I, J, K) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>, <G as SystemParam>::Param<'_>, <H as SystemParam>::Param<'_>, <I as SystemParam>::Param<'_>, <J as SystemParam>::Param<'_>, <K as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
G: SystemBorrow<World>,
H: SystemBorrow<World>,
I: SystemBorrow<World>,
J: SystemBorrow<World>,
K: SystemBorrow<World>,
impl<TFunc, A, B, C, D, E, F, G, H, I, J, K, TReturn> Run<World, (A, B, C, D, E, F, G, H, I, J, K), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F, G, H, I, J, K) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>, <G as SystemParam>::Param<'_>, <H as SystemParam>::Param<'_>, <I as SystemParam>::Param<'_>, <J as SystemParam>::Param<'_>, <K as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
G: SystemBorrow<World>,
H: SystemBorrow<World>,
I: SystemBorrow<World>,
J: SystemBorrow<World>,
K: SystemBorrow<World>,
source§impl<TFunc, A, B, C, D, E, F, G, H, I, J, K, L, TReturn> Run<World, (A, B, C, D, E, F, G, H, I, J, K, L), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F, G, H, I, J, K, L) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>, <G as SystemParam>::Param<'_>, <H as SystemParam>::Param<'_>, <I as SystemParam>::Param<'_>, <J as SystemParam>::Param<'_>, <K as SystemParam>::Param<'_>, <L as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
G: SystemBorrow<World>,
H: SystemBorrow<World>,
I: SystemBorrow<World>,
J: SystemBorrow<World>,
K: SystemBorrow<World>,
L: SystemBorrow<World>,
impl<TFunc, A, B, C, D, E, F, G, H, I, J, K, L, TReturn> Run<World, (A, B, C, D, E, F, G, H, I, J, K, L), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F, G, H, I, J, K, L) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>, <G as SystemParam>::Param<'_>, <H as SystemParam>::Param<'_>, <I as SystemParam>::Param<'_>, <J as SystemParam>::Param<'_>, <K as SystemParam>::Param<'_>, <L as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
G: SystemBorrow<World>,
H: SystemBorrow<World>,
I: SystemBorrow<World>,
J: SystemBorrow<World>,
K: SystemBorrow<World>,
L: SystemBorrow<World>,
source§impl<TFunc, A, B, C, D, E, F, G, H, I, J, K, L, M, TReturn> Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F, G, H, I, J, K, L, M) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>, <G as SystemParam>::Param<'_>, <H as SystemParam>::Param<'_>, <I as SystemParam>::Param<'_>, <J as SystemParam>::Param<'_>, <K as SystemParam>::Param<'_>, <L as SystemParam>::Param<'_>, <M as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
G: SystemBorrow<World>,
H: SystemBorrow<World>,
I: SystemBorrow<World>,
J: SystemBorrow<World>,
K: SystemBorrow<World>,
L: SystemBorrow<World>,
M: SystemBorrow<World>,
impl<TFunc, A, B, C, D, E, F, G, H, I, J, K, L, M, TReturn> Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F, G, H, I, J, K, L, M) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>, <G as SystemParam>::Param<'_>, <H as SystemParam>::Param<'_>, <I as SystemParam>::Param<'_>, <J as SystemParam>::Param<'_>, <K as SystemParam>::Param<'_>, <L as SystemParam>::Param<'_>, <M as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
G: SystemBorrow<World>,
H: SystemBorrow<World>,
I: SystemBorrow<World>,
J: SystemBorrow<World>,
K: SystemBorrow<World>,
L: SystemBorrow<World>,
M: SystemBorrow<World>,
source§impl<TFunc, A, B, C, D, E, F, G, H, I, J, K, L, M, N, TReturn> Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F, G, H, I, J, K, L, M, N) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>, <G as SystemParam>::Param<'_>, <H as SystemParam>::Param<'_>, <I as SystemParam>::Param<'_>, <J as SystemParam>::Param<'_>, <K as SystemParam>::Param<'_>, <L as SystemParam>::Param<'_>, <M as SystemParam>::Param<'_>, <N as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
G: SystemBorrow<World>,
H: SystemBorrow<World>,
I: SystemBorrow<World>,
J: SystemBorrow<World>,
K: SystemBorrow<World>,
L: SystemBorrow<World>,
M: SystemBorrow<World>,
N: SystemBorrow<World>,
impl<TFunc, A, B, C, D, E, F, G, H, I, J, K, L, M, N, TReturn> Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F, G, H, I, J, K, L, M, N) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>, <G as SystemParam>::Param<'_>, <H as SystemParam>::Param<'_>, <I as SystemParam>::Param<'_>, <J as SystemParam>::Param<'_>, <K as SystemParam>::Param<'_>, <L as SystemParam>::Param<'_>, <M as SystemParam>::Param<'_>, <N as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
G: SystemBorrow<World>,
H: SystemBorrow<World>,
I: SystemBorrow<World>,
J: SystemBorrow<World>,
K: SystemBorrow<World>,
L: SystemBorrow<World>,
M: SystemBorrow<World>,
N: SystemBorrow<World>,
source§impl<TFunc, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, TReturn> Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>, <G as SystemParam>::Param<'_>, <H as SystemParam>::Param<'_>, <I as SystemParam>::Param<'_>, <J as SystemParam>::Param<'_>, <K as SystemParam>::Param<'_>, <L as SystemParam>::Param<'_>, <M as SystemParam>::Param<'_>, <N as SystemParam>::Param<'_>, <O as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
G: SystemBorrow<World>,
H: SystemBorrow<World>,
I: SystemBorrow<World>,
J: SystemBorrow<World>,
K: SystemBorrow<World>,
L: SystemBorrow<World>,
M: SystemBorrow<World>,
N: SystemBorrow<World>,
O: SystemBorrow<World>,
impl<TFunc, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, TReturn> Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>, <G as SystemParam>::Param<'_>, <H as SystemParam>::Param<'_>, <I as SystemParam>::Param<'_>, <J as SystemParam>::Param<'_>, <K as SystemParam>::Param<'_>, <L as SystemParam>::Param<'_>, <M as SystemParam>::Param<'_>, <N as SystemParam>::Param<'_>, <O as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
G: SystemBorrow<World>,
H: SystemBorrow<World>,
I: SystemBorrow<World>,
J: SystemBorrow<World>,
K: SystemBorrow<World>,
L: SystemBorrow<World>,
M: SystemBorrow<World>,
N: SystemBorrow<World>,
O: SystemBorrow<World>,
source§impl<TFunc, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, TReturn> Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>, <G as SystemParam>::Param<'_>, <H as SystemParam>::Param<'_>, <I as SystemParam>::Param<'_>, <J as SystemParam>::Param<'_>, <K as SystemParam>::Param<'_>, <L as SystemParam>::Param<'_>, <M as SystemParam>::Param<'_>, <N as SystemParam>::Param<'_>, <O as SystemParam>::Param<'_>, <P as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
G: SystemBorrow<World>,
H: SystemBorrow<World>,
I: SystemBorrow<World>,
J: SystemBorrow<World>,
K: SystemBorrow<World>,
L: SystemBorrow<World>,
M: SystemBorrow<World>,
N: SystemBorrow<World>,
O: SystemBorrow<World>,
P: SystemBorrow<World>,
impl<TFunc, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, TReturn> Run<World, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P), TReturn> for TFuncwhere
TFunc: FnOnce(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P) -> TReturn + FnOnce(<A as SystemParam>::Param<'_>, <B as SystemParam>::Param<'_>, <C as SystemParam>::Param<'_>, <D as SystemParam>::Param<'_>, <E as SystemParam>::Param<'_>, <F as SystemParam>::Param<'_>, <G as SystemParam>::Param<'_>, <H as SystemParam>::Param<'_>, <I as SystemParam>::Param<'_>, <J as SystemParam>::Param<'_>, <K as SystemParam>::Param<'_>, <L as SystemParam>::Param<'_>, <M as SystemParam>::Param<'_>, <N as SystemParam>::Param<'_>, <O as SystemParam>::Param<'_>, <P as SystemParam>::Param<'_>) -> TReturn,
A: SystemBorrow<World>,
B: SystemBorrow<World>,
C: SystemBorrow<World>,
D: SystemBorrow<World>,
E: SystemBorrow<World>,
F: SystemBorrow<World>,
G: SystemBorrow<World>,
H: SystemBorrow<World>,
I: SystemBorrow<World>,
J: SystemBorrow<World>,
K: SystemBorrow<World>,
L: SystemBorrow<World>,
M: SystemBorrow<World>,
N: SystemBorrow<World>,
O: SystemBorrow<World>,
P: SystemBorrow<World>,
Auto Trait Implementations§
impl !Freeze for World
impl !RefUnwindSafe for World
impl Send for World
impl Sync for World
impl Unpin for World
impl !UnwindSafe for World
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more