[−][src]Trait bevy_ecs::prelude::Bundle
A statically typed collection of components
Implementations on Foreign Types
impl<J, I, H, G, F, E, D, C, B, A> Bundle for (J, I, H, G, F, E, D, C, B, A) where
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
F: Component,
G: Component,
H: Component,
I: Component,
J: Component,
[src]
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
F: Component,
G: Component,
H: Component,
I: Component,
J: Component,
pub fn with_static_ids<T>(f: impl FnOnce(&[TypeId]) -> T) -> T
[src]
pub fn static_type_info() -> Vec<TypeInfo>
[src]
pub unsafe fn get(
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(J, I, H, G, F, E, D, C, B, A), MissingComponent>
[src]
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(J, I, H, G, F, E, D, C, B, A), MissingComponent>
impl<H, G, F, E, D, C, B, A> Bundle for (H, G, F, E, D, C, B, A) where
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
F: Component,
G: Component,
H: Component,
[src]
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
F: Component,
G: Component,
H: Component,
pub fn with_static_ids<T>(f: impl FnOnce(&[TypeId]) -> T) -> T
[src]
pub fn static_type_info() -> Vec<TypeInfo>
[src]
pub unsafe fn get(
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(H, G, F, E, D, C, B, A), MissingComponent>
[src]
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(H, G, F, E, D, C, B, A), MissingComponent>
impl<N, M, L, K, J, I, H, G, F, E, D, C, B, A> Bundle for (N, M, L, K, J, I, H, G, F, E, D, C, B, A) where
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
F: Component,
G: Component,
H: Component,
I: Component,
J: Component,
K: Component,
L: Component,
M: Component,
N: Component,
[src]
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
F: Component,
G: Component,
H: Component,
I: Component,
J: Component,
K: Component,
L: Component,
M: Component,
N: Component,
pub fn with_static_ids<T>(f: impl FnOnce(&[TypeId]) -> T) -> T
[src]
pub fn static_type_info() -> Vec<TypeInfo>
[src]
pub unsafe fn get(
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(N, M, L, K, J, I, H, G, F, E, D, C, B, A), MissingComponent>
[src]
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(N, M, L, K, J, I, H, G, F, E, D, C, B, A), MissingComponent>
impl<A> Bundle for (A,) where
A: Component,
[src]
A: Component,
pub fn with_static_ids<T>(f: impl FnOnce(&[TypeId]) -> T) -> T
[src]
pub fn static_type_info() -> Vec<TypeInfo>
[src]
pub unsafe fn get(
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(A,), MissingComponent>
[src]
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(A,), MissingComponent>
impl<B, A> Bundle for (B, A) where
A: Component,
B: Component,
[src]
A: Component,
B: Component,
pub fn with_static_ids<T>(f: impl FnOnce(&[TypeId]) -> T) -> T
[src]
pub fn static_type_info() -> Vec<TypeInfo>
[src]
pub unsafe fn get(
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(B, A), MissingComponent>
[src]
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(B, A), MissingComponent>
impl<M, L, K, J, I, H, G, F, E, D, C, B, A> Bundle for (M, L, K, J, I, H, G, F, E, D, C, B, A) where
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
F: Component,
G: Component,
H: Component,
I: Component,
J: Component,
K: Component,
L: Component,
M: Component,
[src]
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
F: Component,
G: Component,
H: Component,
I: Component,
J: Component,
K: Component,
L: Component,
M: Component,
pub fn with_static_ids<T>(f: impl FnOnce(&[TypeId]) -> T) -> T
[src]
pub fn static_type_info() -> Vec<TypeInfo>
[src]
pub unsafe fn get(
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(M, L, K, J, I, H, G, F, E, D, C, B, A), MissingComponent>
[src]
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(M, L, K, J, I, H, G, F, E, D, C, B, A), MissingComponent>
impl<L, K, J, I, H, G, F, E, D, C, B, A> Bundle for (L, K, J, I, H, G, F, E, D, C, B, A) where
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
F: Component,
G: Component,
H: Component,
I: Component,
J: Component,
K: Component,
L: Component,
[src]
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
F: Component,
G: Component,
H: Component,
I: Component,
J: Component,
K: Component,
L: Component,
pub fn with_static_ids<T>(f: impl FnOnce(&[TypeId]) -> T) -> T
[src]
pub fn static_type_info() -> Vec<TypeInfo>
[src]
pub unsafe fn get(
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(L, K, J, I, H, G, F, E, D, C, B, A), MissingComponent>
[src]
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(L, K, J, I, H, G, F, E, D, C, B, A), MissingComponent>
impl<G, F, E, D, C, B, A> Bundle for (G, F, E, D, C, B, A) where
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
F: Component,
G: Component,
[src]
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
F: Component,
G: Component,
pub fn with_static_ids<T>(f: impl FnOnce(&[TypeId]) -> T) -> T
[src]
pub fn static_type_info() -> Vec<TypeInfo>
[src]
pub unsafe fn get(
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(G, F, E, D, C, B, A), MissingComponent>
[src]
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(G, F, E, D, C, B, A), MissingComponent>
impl<K, J, I, H, G, F, E, D, C, B, A> Bundle for (K, J, I, H, G, F, E, D, C, B, A) where
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
F: Component,
G: Component,
H: Component,
I: Component,
J: Component,
K: Component,
[src]
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
F: Component,
G: Component,
H: Component,
I: Component,
J: Component,
K: Component,
pub fn with_static_ids<T>(f: impl FnOnce(&[TypeId]) -> T) -> T
[src]
pub fn static_type_info() -> Vec<TypeInfo>
[src]
pub unsafe fn get(
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(K, J, I, H, G, F, E, D, C, B, A), MissingComponent>
[src]
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(K, J, I, H, G, F, E, D, C, B, A), MissingComponent>
impl<E, D, C, B, A> Bundle for (E, D, C, B, A) where
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
[src]
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
pub fn with_static_ids<T>(f: impl FnOnce(&[TypeId]) -> T) -> T
[src]
pub fn static_type_info() -> Vec<TypeInfo>
[src]
pub unsafe fn get(
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(E, D, C, B, A), MissingComponent>
[src]
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(E, D, C, B, A), MissingComponent>
impl Bundle for ()
[src]
pub fn with_static_ids<T>(f: impl FnOnce(&[TypeId]) -> T) -> T
[src]
pub fn static_type_info() -> Vec<TypeInfo>
[src]
pub unsafe fn get(
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(), MissingComponent>
[src]
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(), MissingComponent>
impl<F, E, D, C, B, A> Bundle for (F, E, D, C, B, A) where
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
F: Component,
[src]
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
F: Component,
pub fn with_static_ids<T>(f: impl FnOnce(&[TypeId]) -> T) -> T
[src]
pub fn static_type_info() -> Vec<TypeInfo>
[src]
pub unsafe fn get(
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(F, E, D, C, B, A), MissingComponent>
[src]
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(F, E, D, C, B, A), MissingComponent>
impl<O, N, M, L, K, J, I, H, G, F, E, D, C, B, A> Bundle for (O, N, M, L, K, J, I, H, G, F, E, D, C, B, A) where
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
F: Component,
G: Component,
H: Component,
I: Component,
J: Component,
K: Component,
L: Component,
M: Component,
N: Component,
O: Component,
[src]
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
F: Component,
G: Component,
H: Component,
I: Component,
J: Component,
K: Component,
L: Component,
M: Component,
N: Component,
O: Component,
pub fn with_static_ids<T>(f: impl FnOnce(&[TypeId]) -> T) -> T
[src]
pub fn static_type_info() -> Vec<TypeInfo>
[src]
pub unsafe fn get(
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(O, N, M, L, K, J, I, H, G, F, E, D, C, B, A), MissingComponent>
[src]
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(O, N, M, L, K, J, I, H, G, F, E, D, C, B, A), MissingComponent>
impl<D, C, B, A> Bundle for (D, C, B, A) where
A: Component,
B: Component,
C: Component,
D: Component,
[src]
A: Component,
B: Component,
C: Component,
D: Component,
pub fn with_static_ids<T>(f: impl FnOnce(&[TypeId]) -> T) -> T
[src]
pub fn static_type_info() -> Vec<TypeInfo>
[src]
pub unsafe fn get(
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(D, C, B, A), MissingComponent>
[src]
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(D, C, B, A), MissingComponent>
impl<C, B, A> Bundle for (C, B, A) where
A: Component,
B: Component,
C: Component,
[src]
A: Component,
B: Component,
C: Component,
pub fn with_static_ids<T>(f: impl FnOnce(&[TypeId]) -> T) -> T
[src]
pub fn static_type_info() -> Vec<TypeInfo>
[src]
pub unsafe fn get(
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(C, B, A), MissingComponent>
[src]
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(C, B, A), MissingComponent>
impl<I, H, G, F, E, D, C, B, A> Bundle for (I, H, G, F, E, D, C, B, A) where
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
F: Component,
G: Component,
H: Component,
I: Component,
[src]
A: Component,
B: Component,
C: Component,
D: Component,
E: Component,
F: Component,
G: Component,
H: Component,
I: Component,
pub fn with_static_ids<T>(f: impl FnOnce(&[TypeId]) -> T) -> T
[src]
pub fn static_type_info() -> Vec<TypeInfo>
[src]
pub unsafe fn get(
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(I, H, G, F, E, D, C, B, A), MissingComponent>
[src]
f: impl FnMut(TypeId, usize) -> Option<NonNull<u8>>
) -> Result<(I, H, G, F, E, D, C, B, A), MissingComponent>