Trait rin::ecs::operators::ParOptionStorage[][src]

pub trait ParOptionStorage<'r>: IntoSendStorage<'r> where
    Self::SendStorage: ReadOnlyStorage
{ type ParIter; pub fn par_iter(this: Option<&'r Self>) -> Self::ParIter; pub fn par_iter_for_entities<E>(
        this: Option<&'r Self>,
        entities_iter: E
    ) -> <E as IntoEntitiesParIterator<'r, Self::SendStorage>>::IntoEntitiesParIter
    where
        E: IntoEntitiesParIterator<'r, Self::SendStorage>
, { ... }
pub fn par_iter_for_entities_opt<E>(
        this: Option<&'r Self>,
        entities_iter: E
    ) -> <E as IntoEntitiesParIterator<'r, Self::SendStorage>>::IntoEntitiesOptParIter
    where
        E: IntoEntitiesParIterator<'r, Self::SendStorage>
, { ... } }

Associated Types

type ParIter[src]

Loading content...

Required methods

pub fn par_iter(this: Option<&'r Self>) -> Self::ParIter[src]

Loading content...

Provided methods

pub fn par_iter_for_entities<E>(
    this: Option<&'r Self>,
    entities_iter: E
) -> <E as IntoEntitiesParIterator<'r, Self::SendStorage>>::IntoEntitiesParIter where
    E: IntoEntitiesParIterator<'r, Self::SendStorage>, 
[src]

pub fn par_iter_for_entities_opt<E>(
    this: Option<&'r Self>,
    entities_iter: E
) -> <E as IntoEntitiesParIterator<'r, Self::SendStorage>>::IntoEntitiesOptParIter where
    E: IntoEntitiesParIterator<'r, Self::SendStorage>, 
[src]

Loading content...

Implementors

impl<'a, 'r, S1, S2> ParOptionStorage<'r> for StorageRef2<'a, S1, S2> where
    S2: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S1: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    <S1 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S2 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage
[src]

type ParIter = ParStorageIter<'r, <StorageRef2<'a, S1, S2> as IntoSendStorage<'r>>::SendStorage>

impl<'a, 'r, S1, S2, S3> ParOptionStorage<'r> for StorageRef3<'a, S1, S2, S3> where
    S2: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S3: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S1: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    <S1 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S2 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S3 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage
[src]

type ParIter = ParStorageIter<'r, <StorageRef3<'a, S1, S2, S3> as IntoSendStorage<'r>>::SendStorage>

impl<'a, 'r, S1, S2, S3, S4> ParOptionStorage<'r> for StorageRef4<'a, S1, S2, S3, S4> where
    S2: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S3: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S4: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S1: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    <S1 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S2 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S3 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S4 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage
[src]

type ParIter = ParStorageIter<'r, <StorageRef4<'a, S1, S2, S3, S4> as IntoSendStorage<'r>>::SendStorage>

impl<'a, 'r, S1, S2, S3, S4, S5> ParOptionStorage<'r> for StorageRef5<'a, S1, S2, S3, S4, S5> where
    S2: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S3: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S4: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S1: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S5: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    <S1 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S2 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S3 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S4 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S5 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage
[src]

type ParIter = ParStorageIter<'r, <StorageRef5<'a, S1, S2, S3, S4, S5> as IntoSendStorage<'r>>::SendStorage>

impl<'a, 'r, S1, S2, S3, S4, S5, S6> ParOptionStorage<'r> for StorageRef6<'a, S1, S2, S3, S4, S5, S6> where
    S2: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S3: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S4: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S1: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S5: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S6: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    <S1 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S2 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S3 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S4 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S5 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S6 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage
[src]

type ParIter = ParStorageIter<'r, <StorageRef6<'a, S1, S2, S3, S4, S5, S6> as IntoSendStorage<'r>>::SendStorage>

impl<'a, 'r, S1, S2, S3, S4, S5, S6, S7> ParOptionStorage<'r> for StorageRef7<'a, S1, S2, S3, S4, S5, S6, S7> where
    S2: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S3: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S4: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S1: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S5: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S6: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S7: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    <S1 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S2 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S3 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S4 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S5 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S6 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S7 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage
[src]

type ParIter = ParStorageIter<'r, <StorageRef7<'a, S1, S2, S3, S4, S5, S6, S7> as IntoSendStorage<'r>>::SendStorage>

impl<'a, 'r, S1, S2, S3, S4, S5, S6, S7, S8> ParOptionStorage<'r> for StorageRef8<'a, S1, S2, S3, S4, S5, S6, S7, S8> where
    S2: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S3: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S4: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S1: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S5: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S6: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S7: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    S8: StorageRef<'r> + 'r + IntoSendStorage<'r>,
    <S1 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S2 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S3 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S4 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S5 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S6 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S7 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage,
    <S8 as IntoSendStorage<'r>>::SendStorage: ReadOnlyStorage
[src]

type ParIter = ParStorageIter<'r, <StorageRef8<'a, S1, S2, S3, S4, S5, S6, S7, S8> as IntoSendStorage<'r>>::SendStorage>

Loading content...