[−]Trait bevy::ecs::DynamicBundle
A dynamically typed collection of components
See Bundle
Implementations on Foreign Types
impl<K, J, I, H, G, F, E, D, C, B, A> DynamicBundle for (K, J, I, H, G, F, E, D, C, B, A) where
C: Component,
E: Component,
B: Component,
A: Component,
D: Component,
F: Component,
G: Component,
I: Component,
H: Component,
J: Component,
K: Component,
C: Component,
E: Component,
B: Component,
A: Component,
D: Component,
F: Component,
G: Component,
I: Component,
H: Component,
J: Component,
K: Component,
pub fn with_ids<T>(&self, f: impl FnOnce(&[TypeId]) -> T) -> T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl<C, B, A> DynamicBundle for (C, B, A) where
C: Component,
B: Component,
A: Component,
C: Component,
B: Component,
A: Component,
pub fn with_ids<T>(&self, f: impl FnOnce(&[TypeId]) -> T) -> T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl<G, F, E, D, C, B, A> DynamicBundle for (G, F, E, D, C, B, A) where
C: Component,
E: Component,
B: Component,
A: Component,
D: Component,
F: Component,
G: Component,
C: Component,
E: Component,
B: Component,
A: Component,
D: Component,
F: Component,
G: Component,
pub fn with_ids<T>(&self, f: impl FnOnce(&[TypeId]) -> T) -> T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl DynamicBundle for ()
pub fn with_ids<T>(&self, f: impl FnOnce(&[TypeId]) -> T) -> T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl<I, H, G, F, E, D, C, B, A> DynamicBundle for (I, H, G, F, E, D, C, B, A) where
C: Component,
E: Component,
B: Component,
A: Component,
D: Component,
F: Component,
G: Component,
I: Component,
H: Component,
C: Component,
E: Component,
B: Component,
A: Component,
D: Component,
F: Component,
G: Component,
I: Component,
H: Component,
pub fn with_ids<T>(&self, f: impl FnOnce(&[TypeId]) -> T) -> T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl<E, D, C, B, A> DynamicBundle for (E, D, C, B, A) where
C: Component,
E: Component,
B: Component,
A: Component,
D: Component,
C: Component,
E: Component,
B: Component,
A: Component,
D: Component,
pub fn with_ids<T>(&self, f: impl FnOnce(&[TypeId]) -> T) -> T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl<L, K, J, I, H, G, F, E, D, C, B, A> DynamicBundle for (L, K, J, I, H, G, F, E, D, C, B, A) where
C: Component,
E: Component,
B: Component,
L: Component,
A: Component,
D: Component,
F: Component,
G: Component,
I: Component,
H: Component,
J: Component,
K: Component,
C: Component,
E: Component,
B: Component,
L: Component,
A: Component,
D: Component,
F: Component,
G: Component,
I: Component,
H: Component,
J: Component,
K: Component,
pub fn with_ids<T>(&self, f: impl FnOnce(&[TypeId]) -> T) -> T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl<D, C, B, A> DynamicBundle for (D, C, B, A) where
C: Component,
B: Component,
A: Component,
D: Component,
C: Component,
B: Component,
A: Component,
D: Component,
pub fn with_ids<T>(&self, f: impl FnOnce(&[TypeId]) -> T) -> T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl<O, N, M, L, K, J, I, H, G, F, E, D, C, B, A> DynamicBundle for (O, N, M, L, K, J, I, H, G, F, E, D, C, B, A) where
C: Component,
N: Component,
E: Component,
B: Component,
L: Component,
A: Component,
D: Component,
F: Component,
G: Component,
I: Component,
H: Component,
J: Component,
K: Component,
M: Component,
O: Component,
C: Component,
N: Component,
E: Component,
B: Component,
L: Component,
A: Component,
D: Component,
F: Component,
G: Component,
I: Component,
H: Component,
J: Component,
K: Component,
M: Component,
O: Component,
pub fn with_ids<T>(&self, f: impl FnOnce(&[TypeId]) -> T) -> T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl<B, A> DynamicBundle for (B, A) where
B: Component,
A: Component,
B: Component,
A: Component,
pub fn with_ids<T>(&self, f: impl FnOnce(&[TypeId]) -> T) -> T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl<H, G, F, E, D, C, B, A> DynamicBundle for (H, G, F, E, D, C, B, A) where
C: Component,
E: Component,
B: Component,
A: Component,
D: Component,
F: Component,
G: Component,
H: Component,
C: Component,
E: Component,
B: Component,
A: Component,
D: Component,
F: Component,
G: Component,
H: Component,
pub fn with_ids<T>(&self, f: impl FnOnce(&[TypeId]) -> T) -> T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl<A> DynamicBundle for (A,) where
A: Component,
A: Component,
pub fn with_ids<T>(&self, f: impl FnOnce(&[TypeId]) -> T) -> T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl<M, L, K, J, I, H, G, F, E, D, C, B, A> DynamicBundle for (M, L, K, J, I, H, G, F, E, D, C, B, A) where
C: Component,
E: Component,
B: Component,
L: Component,
A: Component,
D: Component,
F: Component,
G: Component,
I: Component,
H: Component,
J: Component,
K: Component,
M: Component,
C: Component,
E: Component,
B: Component,
L: Component,
A: Component,
D: Component,
F: Component,
G: Component,
I: Component,
H: Component,
J: Component,
K: Component,
M: Component,
pub fn with_ids<T>(&self, f: impl FnOnce(&[TypeId]) -> T) -> T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl<N, M, L, K, J, I, H, G, F, E, D, C, B, A> DynamicBundle for (N, M, L, K, J, I, H, G, F, E, D, C, B, A) where
C: Component,
N: Component,
E: Component,
B: Component,
L: Component,
A: Component,
D: Component,
F: Component,
G: Component,
I: Component,
H: Component,
J: Component,
K: Component,
M: Component,
C: Component,
N: Component,
E: Component,
B: Component,
L: Component,
A: Component,
D: Component,
F: Component,
G: Component,
I: Component,
H: Component,
J: Component,
K: Component,
M: Component,
pub fn with_ids<T>(&self, f: impl FnOnce(&[TypeId]) -> T) -> T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl<F, E, D, C, B, A> DynamicBundle for (F, E, D, C, B, A) where
C: Component,
E: Component,
B: Component,
A: Component,
D: Component,
F: Component,
C: Component,
E: Component,
B: Component,
A: Component,
D: Component,
F: Component,
pub fn with_ids<T>(&self, f: impl FnOnce(&[TypeId]) -> T) -> T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl<J, I, H, G, F, E, D, C, B, A> DynamicBundle for (J, I, H, G, F, E, D, C, B, A) where
C: Component,
E: Component,
B: Component,
A: Component,
D: Component,
F: Component,
G: Component,
I: Component,
H: Component,
J: Component,
C: Component,
E: Component,
B: Component,
A: Component,
D: Component,
F: Component,
G: Component,
I: Component,
H: Component,
J: Component,
pub fn with_ids<T>(&self, f: impl FnOnce(&[TypeId]) -> T) -> T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
Implementors
impl DynamicBundle for LightBundle
pub fn with_ids<__hecs__T>(
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl DynamicBundle for PbrBundle
pub fn with_ids<__hecs__T>(
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl DynamicBundle for Camera2dBundle
pub fn with_ids<__hecs__T>(
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl DynamicBundle for Camera3dBundle
pub fn with_ids<__hecs__T>(
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl DynamicBundle for MeshBundle
pub fn with_ids<__hecs__T>(
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl DynamicBundle for SpriteBundle
pub fn with_ids<__hecs__T>(
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl DynamicBundle for SpriteSheetBundle
pub fn with_ids<__hecs__T>(
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl DynamicBundle for ButtonBundle
pub fn with_ids<__hecs__T>(
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl DynamicBundle for CameraUiBundle
pub fn with_ids<__hecs__T>(
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl DynamicBundle for ImageBundle
pub fn with_ids<__hecs__T>(
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl DynamicBundle for NodeBundle
pub fn with_ids<__hecs__T>(
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
pub fn type_info(&self) -> Vec<TypeInfo, Global>ⓘ
pub unsafe fn put(self, f: impl FnMut(*mut u8, TypeId, usize) -> bool)
impl DynamicBundle for TextBundle
pub fn with_ids<__hecs__T>(
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T
&self,
f: impl FnOnce(&[TypeId]) -> __hecs__T
) -> __hecs__T