Trait rinecs::operators::ChangedData[][src]

pub trait ChangedData<'a>: UnorderedData<'a> {
    type ChangedIter: Iterator<Item = Entity>;
    fn changed_iter<E: EntitiesStorage>(entities: &'a E) -> Self::ChangedIter;
}

Associated Types

type ChangedIter: Iterator<Item = Entity>[src]

Loading content...

Required methods

fn changed_iter<E: EntitiesStorage>(entities: &'a E) -> Self::ChangedIter[src]

Loading content...

Implementations on Foreign Types

impl<'a, UO: ChangedData<'a>, U1> ChangedData<'a> for (UO, U1) where
    UO: UnorderedData<'a>,
    <UO as UnorderedData<'a>>::Storage: FastIndexExt,
    U1: UnorderedData<'a>,
    <U1 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt
[src]

type ChangedIter = <UO as ChangedData<'a>>::ChangedIter

impl<'a, UO: ChangedData<'a>, U1, U2> ChangedData<'a> for (UO, U1, U2) where
    UO: UnorderedData<'a>,
    <UO as UnorderedData<'a>>::Storage: FastIndexExt,
    U1: UnorderedData<'a>,
    <U1 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt,
    U2: UnorderedData<'a>,
    <U2 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt
[src]

type ChangedIter = <UO as ChangedData<'a>>::ChangedIter

impl<'a, UO: ChangedData<'a>, U1, U2, U3> ChangedData<'a> for (UO, U1, U2, U3) where
    UO: UnorderedData<'a>,
    <UO as UnorderedData<'a>>::Storage: FastIndexExt,
    U1: UnorderedData<'a>,
    <U1 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt,
    U2: UnorderedData<'a>,
    <U2 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt,
    U3: UnorderedData<'a>,
    <U3 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt
[src]

type ChangedIter = <UO as ChangedData<'a>>::ChangedIter

impl<'a, U1: ChangedData<'a>, U2, U3, U4, U5> ChangedData<'a> for (U1, U2, U3, U4, U5) where
    U1: UnorderedData<'a>,
    <U1 as UnorderedData<'a>>::Storage: FastIndexExt,
    U2: UnorderedData<'a>,
    <U2 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt,
    U3: UnorderedData<'a>,
    <U3 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt,
    U4: UnorderedData<'a>,
    <U4 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt,
    U5: UnorderedData<'a>,
    <U5 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt
[src]

type ChangedIter = <U1 as ChangedData<'a>>::ChangedIter

impl<'a, U1: ChangedData<'a>, U2, U3, U4, U5, U6> ChangedData<'a> for (U1, U2, U3, U4, U5, U6) where
    U1: UnorderedData<'a>,
    <U1 as UnorderedData<'a>>::Storage: FastIndexExt,
    U2: UnorderedData<'a>,
    <U2 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt,
    U3: UnorderedData<'a>,
    <U3 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt,
    U4: UnorderedData<'a>,
    <U4 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt,
    U5: UnorderedData<'a>,
    <U5 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt,
    U6: UnorderedData<'a>,
    <U6 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt
[src]

type ChangedIter = <U1 as ChangedData<'a>>::ChangedIter

impl<'a, U1: ChangedData<'a>, U2, U3, U4, U5, U6, U7> ChangedData<'a> for (U1, U2, U3, U4, U5, U6, U7) where
    U1: UnorderedData<'a>,
    <U1 as UnorderedData<'a>>::Storage: FastIndexExt,
    U2: UnorderedData<'a>,
    <U2 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt,
    U3: UnorderedData<'a>,
    <U3 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt,
    U4: UnorderedData<'a>,
    <U4 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt,
    U5: UnorderedData<'a>,
    <U5 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt,
    U6: UnorderedData<'a>,
    <U6 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt,
    U7: UnorderedData<'a>,
    <U7 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt
[src]

type ChangedIter = <U1 as ChangedData<'a>>::ChangedIter

impl<'a, U1: ChangedData<'a>, U2, U3, U4, U5, U6, U7, U8> ChangedData<'a> for (U1, U2, U3, U4, U5, U6, U7, U8) where
    U1: UnorderedData<'a>,
    <U1 as UnorderedData<'a>>::Storage: FastIndexExt,
    U2: UnorderedData<'a>,
    <U2 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt,
    U3: UnorderedData<'a>,
    <U3 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt,
    U4: UnorderedData<'a>,
    <U4 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt,
    U5: UnorderedData<'a>,
    <U5 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt,
    U6: UnorderedData<'a>,
    <U6 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt,
    U7: UnorderedData<'a>,
    <U7 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt,
    U8: UnorderedData<'a>,
    <U8 as UnorderedData<'a>>::Storage: StorageRef<'a> + FastIndexExt
[src]

type ChangedIter = <U1 as ChangedData<'a>>::ChangedIter

Loading content...

Implementors

impl<'a, T: ComponentSend> ChangedData<'a> for Read<'a, T> where
    <T as Component>::Storage: Storage<'s, T>,
    ReadGuardRef<'b, <T as Component>::Storage>: IntoIter,
    <T as Component>::Storage: ChangedStorageExt<'a>, 
[src]

type ChangedIter = ChangedIter<'a, ReadGuardRef<'a, <T as Component>::Storage>>

impl<'a, T: ComponentSend, Not: 'static> ChangedData<'a> for ReadNot<'a, T, Not> where
    <T as Component>::Storage: Storage<'s, T>,
    ReadGuardRef<'b, <T as Component>::Storage>: IntoIter,
    <T as Component>::Storage: ChangedStorageExt<'a>, 
[src]

type ChangedIter = ChangedIter<'a, ReadGuardRef<'a, <T as Component>::Storage>>

Loading content...