Trait rin::ecs::operators::ChangesData [−][src]
pub trait ChangesData<'a>: UnorderedData<'a> { type SubStorage; pub fn extend_changes<F>(entities: &'a Entities<'_>, f: F)
where
F: FnMut(Self::ComponentsRef) -> bool; pub unsafe fn storage_and_changes(
entities: &'a Entities<'_>
) -> Option<(Self::SubStorage, &'a mut HashSet<usize, RandomState>)>; }
Associated Types
type SubStorage
[src]
Required methods
pub fn extend_changes<F>(entities: &'a Entities<'_>, f: F) where
F: FnMut(Self::ComponentsRef) -> bool,
[src]
F: FnMut(Self::ComponentsRef) -> bool,
pub unsafe fn storage_and_changes(
entities: &'a Entities<'_>
) -> Option<(Self::SubStorage, &'a mut HashSet<usize, RandomState>)>
[src]
entities: &'a Entities<'_>
) -> Option<(Self::SubStorage, &'a mut HashSet<usize, RandomState>)>
Implementations on Foreign Types
impl<'a, U1, U2, U3, U4, U5> ChangesData<'a> for (U1, U2, U3, U4, U5) where
U1: 'a + ChangesData<'a> + UnorderedData<'a>,
U2: 'a + UnorderedData<'a>,
U3: 'a + UnorderedData<'a>,
U4: 'a + UnorderedData<'a>,
U5: 'a + UnorderedData<'a>,
<U1 as UnorderedData<'a>>::Storage: FastIndexExt,
<U2 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U3 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U4 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U5 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U1 as ChangesData<'a>>::SubStorage: StorageRef<'a>,
<<U2 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U2 as UnorderedData<'a>>::ComponentsRef,
<<U3 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U3 as UnorderedData<'a>>::ComponentsRef,
<<U4 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U4 as UnorderedData<'a>>::ComponentsRef,
<<U5 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U5 as UnorderedData<'a>>::ComponentsRef,
<<U1 as ChangesData<'a>>::SubStorage as StorageRef<'a>>::Component == <U1 as UnorderedData<'a>>::ComponentsRef,
[src]
impl<'a, U1, U2, U3, U4, U5> ChangesData<'a> for (U1, U2, U3, U4, U5) where
U1: 'a + ChangesData<'a> + UnorderedData<'a>,
U2: 'a + UnorderedData<'a>,
U3: 'a + UnorderedData<'a>,
U4: 'a + UnorderedData<'a>,
U5: 'a + UnorderedData<'a>,
<U1 as UnorderedData<'a>>::Storage: FastIndexExt,
<U2 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U3 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U4 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U5 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U1 as ChangesData<'a>>::SubStorage: StorageRef<'a>,
<<U2 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U2 as UnorderedData<'a>>::ComponentsRef,
<<U3 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U3 as UnorderedData<'a>>::ComponentsRef,
<<U4 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U4 as UnorderedData<'a>>::ComponentsRef,
<<U5 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U5 as UnorderedData<'a>>::ComponentsRef,
<<U1 as ChangesData<'a>>::SubStorage as StorageRef<'a>>::Component == <U1 as UnorderedData<'a>>::ComponentsRef,
[src]type SubStorage = StorageRef5<'a, <U1 as ChangesData<'a>>::SubStorage, <U2 as UnorderedData<'a>>::Storage, <U3 as UnorderedData<'a>>::Storage, <U4 as UnorderedData<'a>>::Storage, <U5 as UnorderedData<'a>>::Storage>
pub fn extend_changes<F>(entities: &'a Entities<'_>, has_changed: F) where
F: FnMut(<(U1, U2, U3, U4, U5) as UnorderedData<'a>>::ComponentsRef) -> bool,
[src]
F: FnMut(<(U1, U2, U3, U4, U5) as UnorderedData<'a>>::ComponentsRef) -> bool,
pub unsafe fn storage_and_changes(
entities: &'a Entities<'_>
) -> Option<(<(U1, U2, U3, U4, U5) as ChangesData<'a>>::SubStorage, &'a mut HashSet<usize, RandomState>)>
[src]
entities: &'a Entities<'_>
) -> Option<(<(U1, U2, U3, U4, U5) as ChangesData<'a>>::SubStorage, &'a mut HashSet<usize, RandomState>)>
impl<'a, U1, U2, U3, U4, U5, U6, U7> ChangesData<'a> for (U1, U2, U3, U4, U5, U6, U7) where
U1: 'a + ChangesData<'a> + UnorderedData<'a>,
U2: 'a + UnorderedData<'a>,
U3: 'a + UnorderedData<'a>,
U4: 'a + UnorderedData<'a>,
U5: 'a + UnorderedData<'a>,
U6: 'a + UnorderedData<'a>,
U7: 'a + UnorderedData<'a>,
<U1 as UnorderedData<'a>>::Storage: FastIndexExt,
<U2 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U3 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U4 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U5 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U6 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U7 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U1 as ChangesData<'a>>::SubStorage: StorageRef<'a>,
<<U2 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U2 as UnorderedData<'a>>::ComponentsRef,
<<U3 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U3 as UnorderedData<'a>>::ComponentsRef,
<<U4 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U4 as UnorderedData<'a>>::ComponentsRef,
<<U5 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U5 as UnorderedData<'a>>::ComponentsRef,
<<U6 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U6 as UnorderedData<'a>>::ComponentsRef,
<<U7 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U7 as UnorderedData<'a>>::ComponentsRef,
<<U1 as ChangesData<'a>>::SubStorage as StorageRef<'a>>::Component == <U1 as UnorderedData<'a>>::ComponentsRef,
[src]
impl<'a, U1, U2, U3, U4, U5, U6, U7> ChangesData<'a> for (U1, U2, U3, U4, U5, U6, U7) where
U1: 'a + ChangesData<'a> + UnorderedData<'a>,
U2: 'a + UnorderedData<'a>,
U3: 'a + UnorderedData<'a>,
U4: 'a + UnorderedData<'a>,
U5: 'a + UnorderedData<'a>,
U6: 'a + UnorderedData<'a>,
U7: 'a + UnorderedData<'a>,
<U1 as UnorderedData<'a>>::Storage: FastIndexExt,
<U2 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U3 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U4 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U5 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U6 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U7 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U1 as ChangesData<'a>>::SubStorage: StorageRef<'a>,
<<U2 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U2 as UnorderedData<'a>>::ComponentsRef,
<<U3 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U3 as UnorderedData<'a>>::ComponentsRef,
<<U4 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U4 as UnorderedData<'a>>::ComponentsRef,
<<U5 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U5 as UnorderedData<'a>>::ComponentsRef,
<<U6 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U6 as UnorderedData<'a>>::ComponentsRef,
<<U7 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U7 as UnorderedData<'a>>::ComponentsRef,
<<U1 as ChangesData<'a>>::SubStorage as StorageRef<'a>>::Component == <U1 as UnorderedData<'a>>::ComponentsRef,
[src]type SubStorage = StorageRef7<'a, <U1 as ChangesData<'a>>::SubStorage, <U2 as UnorderedData<'a>>::Storage, <U3 as UnorderedData<'a>>::Storage, <U4 as UnorderedData<'a>>::Storage, <U5 as UnorderedData<'a>>::Storage, <U6 as UnorderedData<'a>>::Storage, <U7 as UnorderedData<'a>>::Storage>
pub fn extend_changes<F>(entities: &'a Entities<'_>, has_changed: F) where
F: FnMut(<(U1, U2, U3, U4, U5, U6, U7) as UnorderedData<'a>>::ComponentsRef) -> bool,
[src]
F: FnMut(<(U1, U2, U3, U4, U5, U6, U7) as UnorderedData<'a>>::ComponentsRef) -> bool,
pub unsafe fn storage_and_changes(
entities: &'a Entities<'_>
) -> Option<(<(U1, U2, U3, U4, U5, U6, U7) as ChangesData<'a>>::SubStorage, &'a mut HashSet<usize, RandomState>)>
[src]
entities: &'a Entities<'_>
) -> Option<(<(U1, U2, U3, U4, U5, U6, U7) as ChangesData<'a>>::SubStorage, &'a mut HashSet<usize, RandomState>)>
impl<'a, U1, U2, U3, U4, U5, U6, U7, U8> ChangesData<'a> for (U1, U2, U3, U4, U5, U6, U7, U8) where
U8: 'a + UnorderedData<'a>,
U1: 'a + ChangesData<'a> + UnorderedData<'a>,
U2: 'a + UnorderedData<'a>,
U3: 'a + UnorderedData<'a>,
U4: 'a + UnorderedData<'a>,
U5: 'a + UnorderedData<'a>,
U6: 'a + UnorderedData<'a>,
U7: 'a + UnorderedData<'a>,
<U1 as UnorderedData<'a>>::Storage: FastIndexExt,
<U2 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U3 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U4 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U5 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U6 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U7 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U8 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U1 as ChangesData<'a>>::SubStorage: StorageRef<'a>,
<<U2 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U2 as UnorderedData<'a>>::ComponentsRef,
<<U3 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U3 as UnorderedData<'a>>::ComponentsRef,
<<U4 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U4 as UnorderedData<'a>>::ComponentsRef,
<<U5 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U5 as UnorderedData<'a>>::ComponentsRef,
<<U6 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U6 as UnorderedData<'a>>::ComponentsRef,
<<U7 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U7 as UnorderedData<'a>>::ComponentsRef,
<<U8 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U8 as UnorderedData<'a>>::ComponentsRef,
<<U1 as ChangesData<'a>>::SubStorage as StorageRef<'a>>::Component == <U1 as UnorderedData<'a>>::ComponentsRef,
[src]
impl<'a, U1, U2, U3, U4, U5, U6, U7, U8> ChangesData<'a> for (U1, U2, U3, U4, U5, U6, U7, U8) where
U8: 'a + UnorderedData<'a>,
U1: 'a + ChangesData<'a> + UnorderedData<'a>,
U2: 'a + UnorderedData<'a>,
U3: 'a + UnorderedData<'a>,
U4: 'a + UnorderedData<'a>,
U5: 'a + UnorderedData<'a>,
U6: 'a + UnorderedData<'a>,
U7: 'a + UnorderedData<'a>,
<U1 as UnorderedData<'a>>::Storage: FastIndexExt,
<U2 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U3 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U4 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U5 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U6 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U7 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U8 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U1 as ChangesData<'a>>::SubStorage: StorageRef<'a>,
<<U2 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U2 as UnorderedData<'a>>::ComponentsRef,
<<U3 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U3 as UnorderedData<'a>>::ComponentsRef,
<<U4 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U4 as UnorderedData<'a>>::ComponentsRef,
<<U5 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U5 as UnorderedData<'a>>::ComponentsRef,
<<U6 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U6 as UnorderedData<'a>>::ComponentsRef,
<<U7 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U7 as UnorderedData<'a>>::ComponentsRef,
<<U8 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U8 as UnorderedData<'a>>::ComponentsRef,
<<U1 as ChangesData<'a>>::SubStorage as StorageRef<'a>>::Component == <U1 as UnorderedData<'a>>::ComponentsRef,
[src]type SubStorage = StorageRef8<'a, <U1 as ChangesData<'a>>::SubStorage, <U2 as UnorderedData<'a>>::Storage, <U3 as UnorderedData<'a>>::Storage, <U4 as UnorderedData<'a>>::Storage, <U5 as UnorderedData<'a>>::Storage, <U6 as UnorderedData<'a>>::Storage, <U7 as UnorderedData<'a>>::Storage, <U8 as UnorderedData<'a>>::Storage>
pub fn extend_changes<F>(entities: &'a Entities<'_>, has_changed: F) where
F: FnMut(<(U1, U2, U3, U4, U5, U6, U7, U8) as UnorderedData<'a>>::ComponentsRef) -> bool,
[src]
F: FnMut(<(U1, U2, U3, U4, U5, U6, U7, U8) as UnorderedData<'a>>::ComponentsRef) -> bool,
pub unsafe fn storage_and_changes(
entities: &'a Entities<'_>
) -> Option<(<(U1, U2, U3, U4, U5, U6, U7, U8) as ChangesData<'a>>::SubStorage, &'a mut HashSet<usize, RandomState>)>
[src]
entities: &'a Entities<'_>
) -> Option<(<(U1, U2, U3, U4, U5, U6, U7, U8) as ChangesData<'a>>::SubStorage, &'a mut HashSet<usize, RandomState>)>
impl<'a, U1, U2, U3, U4, U5, U6> ChangesData<'a> for (U1, U2, U3, U4, U5, U6) where
U1: 'a + ChangesData<'a> + UnorderedData<'a>,
U2: 'a + UnorderedData<'a>,
U3: 'a + UnorderedData<'a>,
U4: 'a + UnorderedData<'a>,
U5: 'a + UnorderedData<'a>,
U6: 'a + UnorderedData<'a>,
<U1 as UnorderedData<'a>>::Storage: FastIndexExt,
<U2 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U3 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U4 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U5 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U6 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U1 as ChangesData<'a>>::SubStorage: StorageRef<'a>,
<<U2 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U2 as UnorderedData<'a>>::ComponentsRef,
<<U3 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U3 as UnorderedData<'a>>::ComponentsRef,
<<U4 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U4 as UnorderedData<'a>>::ComponentsRef,
<<U5 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U5 as UnorderedData<'a>>::ComponentsRef,
<<U6 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U6 as UnorderedData<'a>>::ComponentsRef,
<<U1 as ChangesData<'a>>::SubStorage as StorageRef<'a>>::Component == <U1 as UnorderedData<'a>>::ComponentsRef,
[src]
impl<'a, U1, U2, U3, U4, U5, U6> ChangesData<'a> for (U1, U2, U3, U4, U5, U6) where
U1: 'a + ChangesData<'a> + UnorderedData<'a>,
U2: 'a + UnorderedData<'a>,
U3: 'a + UnorderedData<'a>,
U4: 'a + UnorderedData<'a>,
U5: 'a + UnorderedData<'a>,
U6: 'a + UnorderedData<'a>,
<U1 as UnorderedData<'a>>::Storage: FastIndexExt,
<U2 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U3 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U4 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U5 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U6 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U1 as ChangesData<'a>>::SubStorage: StorageRef<'a>,
<<U2 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U2 as UnorderedData<'a>>::ComponentsRef,
<<U3 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U3 as UnorderedData<'a>>::ComponentsRef,
<<U4 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U4 as UnorderedData<'a>>::ComponentsRef,
<<U5 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U5 as UnorderedData<'a>>::ComponentsRef,
<<U6 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U6 as UnorderedData<'a>>::ComponentsRef,
<<U1 as ChangesData<'a>>::SubStorage as StorageRef<'a>>::Component == <U1 as UnorderedData<'a>>::ComponentsRef,
[src]type SubStorage = StorageRef6<'a, <U1 as ChangesData<'a>>::SubStorage, <U2 as UnorderedData<'a>>::Storage, <U3 as UnorderedData<'a>>::Storage, <U4 as UnorderedData<'a>>::Storage, <U5 as UnorderedData<'a>>::Storage, <U6 as UnorderedData<'a>>::Storage>
pub fn extend_changes<F>(entities: &'a Entities<'_>, has_changed: F) where
F: FnMut(<(U1, U2, U3, U4, U5, U6) as UnorderedData<'a>>::ComponentsRef) -> bool,
[src]
F: FnMut(<(U1, U2, U3, U4, U5, U6) as UnorderedData<'a>>::ComponentsRef) -> bool,
pub unsafe fn storage_and_changes(
entities: &'a Entities<'_>
) -> Option<(<(U1, U2, U3, U4, U5, U6) as ChangesData<'a>>::SubStorage, &'a mut HashSet<usize, RandomState>)>
[src]
entities: &'a Entities<'_>
) -> Option<(<(U1, U2, U3, U4, U5, U6) as ChangesData<'a>>::SubStorage, &'a mut HashSet<usize, RandomState>)>
impl<'a, UO, U1, U2> ChangesData<'a> for (UO, U1, U2) where
U1: 'a + UnorderedData<'a>,
U2: 'a + UnorderedData<'a>,
UO: 'a + ChangesData<'a> + UnorderedData<'a>,
<UO as UnorderedData<'a>>::Storage: FastIndexExt,
<U1 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U2 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<UO as ChangesData<'a>>::SubStorage: StorageRef<'a>,
<<U1 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U1 as UnorderedData<'a>>::ComponentsRef,
<<U2 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U2 as UnorderedData<'a>>::ComponentsRef,
<<UO as ChangesData<'a>>::SubStorage as StorageRef<'a>>::Component == <UO as UnorderedData<'a>>::ComponentsRef,
[src]
impl<'a, UO, U1, U2> ChangesData<'a> for (UO, U1, U2) where
U1: 'a + UnorderedData<'a>,
U2: 'a + UnorderedData<'a>,
UO: 'a + ChangesData<'a> + UnorderedData<'a>,
<UO as UnorderedData<'a>>::Storage: FastIndexExt,
<U1 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U2 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<UO as ChangesData<'a>>::SubStorage: StorageRef<'a>,
<<U1 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U1 as UnorderedData<'a>>::ComponentsRef,
<<U2 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U2 as UnorderedData<'a>>::ComponentsRef,
<<UO as ChangesData<'a>>::SubStorage as StorageRef<'a>>::Component == <UO as UnorderedData<'a>>::ComponentsRef,
[src]type SubStorage = StorageRef3<'a, <UO as ChangesData<'a>>::SubStorage, <U1 as UnorderedData<'a>>::Storage, <U2 as UnorderedData<'a>>::Storage>
pub fn extend_changes<F>(entities: &'a Entities<'_>, has_changed: F) where
F: FnMut(<(UO, U1, U2) as UnorderedData<'a>>::ComponentsRef) -> bool,
[src]
F: FnMut(<(UO, U1, U2) as UnorderedData<'a>>::ComponentsRef) -> bool,
pub unsafe fn storage_and_changes(
entities: &'a Entities<'_>
) -> Option<(<(UO, U1, U2) as ChangesData<'a>>::SubStorage, &'a mut HashSet<usize, RandomState>)>
[src]
entities: &'a Entities<'_>
) -> Option<(<(UO, U1, U2) as ChangesData<'a>>::SubStorage, &'a mut HashSet<usize, RandomState>)>
impl<'a, UO, U1> ChangesData<'a> for (UO, U1) where
U1: 'a + UnorderedData<'a>,
UO: 'a + ChangesData<'a> + UnorderedData<'a>,
<UO as UnorderedData<'a>>::Storage: FastIndexExt,
<U1 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<UO as ChangesData<'a>>::SubStorage: StorageRef<'a>,
<<U1 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U1 as UnorderedData<'a>>::ComponentsRef,
<<UO as ChangesData<'a>>::SubStorage as StorageRef<'a>>::Component == <UO as UnorderedData<'a>>::ComponentsRef,
[src]
impl<'a, UO, U1> ChangesData<'a> for (UO, U1) where
U1: 'a + UnorderedData<'a>,
UO: 'a + ChangesData<'a> + UnorderedData<'a>,
<UO as UnorderedData<'a>>::Storage: FastIndexExt,
<U1 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<UO as ChangesData<'a>>::SubStorage: StorageRef<'a>,
<<U1 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U1 as UnorderedData<'a>>::ComponentsRef,
<<UO as ChangesData<'a>>::SubStorage as StorageRef<'a>>::Component == <UO as UnorderedData<'a>>::ComponentsRef,
[src]type SubStorage = StorageRef2<'a, <UO as ChangesData<'a>>::SubStorage, <U1 as UnorderedData<'a>>::Storage>
pub fn extend_changes<F>(entities: &'a Entities<'_>, has_changed: F) where
F: FnMut(<(UO, U1) as UnorderedData<'a>>::ComponentsRef) -> bool,
[src]
F: FnMut(<(UO, U1) as UnorderedData<'a>>::ComponentsRef) -> bool,
pub unsafe fn storage_and_changes(
entities: &'a Entities<'_>
) -> Option<(<(UO, U1) as ChangesData<'a>>::SubStorage, &'a mut HashSet<usize, RandomState>)>
[src]
entities: &'a Entities<'_>
) -> Option<(<(UO, U1) as ChangesData<'a>>::SubStorage, &'a mut HashSet<usize, RandomState>)>
impl<'a, UO, U1, U2, U3> ChangesData<'a> for (UO, U1, U2, U3) where
U1: 'a + UnorderedData<'a>,
U2: 'a + UnorderedData<'a>,
U3: 'a + UnorderedData<'a>,
UO: 'a + ChangesData<'a> + UnorderedData<'a>,
<UO as UnorderedData<'a>>::Storage: FastIndexExt,
<U1 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U2 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U3 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<UO as ChangesData<'a>>::SubStorage: StorageRef<'a>,
<<U1 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U1 as UnorderedData<'a>>::ComponentsRef,
<<U2 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U2 as UnorderedData<'a>>::ComponentsRef,
<<U3 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U3 as UnorderedData<'a>>::ComponentsRef,
<<UO as ChangesData<'a>>::SubStorage as StorageRef<'a>>::Component == <UO as UnorderedData<'a>>::ComponentsRef,
[src]
impl<'a, UO, U1, U2, U3> ChangesData<'a> for (UO, U1, U2, U3) where
U1: 'a + UnorderedData<'a>,
U2: 'a + UnorderedData<'a>,
U3: 'a + UnorderedData<'a>,
UO: 'a + ChangesData<'a> + UnorderedData<'a>,
<UO as UnorderedData<'a>>::Storage: FastIndexExt,
<U1 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U2 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<U3 as UnorderedData<'a>>::Storage: StorageRef<'a>,
<UO as ChangesData<'a>>::SubStorage: StorageRef<'a>,
<<U1 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U1 as UnorderedData<'a>>::ComponentsRef,
<<U2 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U2 as UnorderedData<'a>>::ComponentsRef,
<<U3 as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component == <U3 as UnorderedData<'a>>::ComponentsRef,
<<UO as ChangesData<'a>>::SubStorage as StorageRef<'a>>::Component == <UO as UnorderedData<'a>>::ComponentsRef,
[src]type SubStorage = StorageRef4<'a, <UO as ChangesData<'a>>::SubStorage, <U1 as UnorderedData<'a>>::Storage, <U2 as UnorderedData<'a>>::Storage, <U3 as UnorderedData<'a>>::Storage>
pub fn extend_changes<F>(entities: &'a Entities<'_>, has_changed: F) where
F: FnMut(<(UO, U1, U2, U3) as UnorderedData<'a>>::ComponentsRef) -> bool,
[src]
F: FnMut(<(UO, U1, U2, U3) as UnorderedData<'a>>::ComponentsRef) -> bool,
pub unsafe fn storage_and_changes(
entities: &'a Entities<'_>
) -> Option<(<(UO, U1, U2, U3) as ChangesData<'a>>::SubStorage, &'a mut HashSet<usize, RandomState>)>
[src]
entities: &'a Entities<'_>
) -> Option<(<(UO, U1, U2, U3) as ChangesData<'a>>::SubStorage, &'a mut HashSet<usize, RandomState>)>
Implementors
impl<'a, T> ChangesData<'a> for Write<'a, T> where
T: ComponentSend,
<T as Component>::Storage: for<'b> Storage<'b, T>,
WriteGuardRef<'b, <T as Component>::Storage, <T as Component>::MutStorageCacheGuard>: for<'b> IntoIterMut,
WriteGuardRef<'a, <T as Component>::Storage, <T as Component>::MutStorageCacheGuard>: IntoChangesIter<'a, T>,
<WriteGuardRef<'a, <T as Component>::Storage, <T as Component>::MutStorageCacheGuard> as IntoChangesIter<'a, T>>::ChangesItem == <<T as Component>::Storage as Storage<'a, T>>::GetMut,
[src]
impl<'a, T> ChangesData<'a> for Write<'a, T> where
T: ComponentSend,
<T as Component>::Storage: for<'b> Storage<'b, T>,
WriteGuardRef<'b, <T as Component>::Storage, <T as Component>::MutStorageCacheGuard>: for<'b> IntoIterMut,
WriteGuardRef<'a, <T as Component>::Storage, <T as Component>::MutStorageCacheGuard>: IntoChangesIter<'a, T>,
<WriteGuardRef<'a, <T as Component>::Storage, <T as Component>::MutStorageCacheGuard> as IntoChangesIter<'a, T>>::ChangesItem == <<T as Component>::Storage as Storage<'a, T>>::GetMut,
[src]type SubStorage = StorageWrite<'a, <WriteGuardRef<'a, <T as Component>::Storage, <T as Component>::MutStorageCacheGuard> as IntoChangesIter<'a, T>>::RawSubStorage, <Write<'a, T> as UnorderedData<'a>>::Components, <WriteGuardRef<'a, <T as Component>::Storage, <T as Component>::MutStorageCacheGuard> as IntoChangesIter<'a, T>>::SubStorage>
pub fn extend_changes<F>(entities: &'a Entities<'_>, f: F) where
F: FnMut(<Write<'a, T> as UnorderedData<'a>>::ComponentsRef) -> bool,
[src]
F: FnMut(<Write<'a, T> as UnorderedData<'a>>::ComponentsRef) -> bool,
pub unsafe fn storage_and_changes(
entities: &'a Entities<'_>
) -> Option<(<Write<'a, T> as ChangesData<'a>>::SubStorage, &'a mut HashSet<usize, RandomState>)>
[src]
entities: &'a Entities<'_>
) -> Option<(<Write<'a, T> as ChangesData<'a>>::SubStorage, &'a mut HashSet<usize, RandomState>)>