Trait rin::ecs::ChangedData[][src]

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

Associated Types

type ChangedIter: Iterator[src]

Loading content...

Required methods

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

Loading content...

Implementations on Foreign Types

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading content...

Implementors

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

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

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

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

Loading content...