Struct rinecs::operators::combined_unordered::StorageRef2 [−][src]
pub struct StorageRef2<'a, S1, S2> { /* fields omitted */ }
Trait Implementations
impl<'a, S1, S2> FastIndexExt for StorageRef2<'a, S1, S2> where
S1: FastIndexExt,
S2: FastIndexExt,
[src]
impl<'a, S1, S2> FastIndexExt for StorageRef2<'a, S1, S2> where
S1: FastIndexExt,
S2: FastIndexExt,
[src]type FastIndex = (S1::FastIndex, S2::FastIndex)
type StaticTypeId = (S1::StaticTypeId, S2::StaticTypeId)
fn fast_index(&self, guid: usize) -> Self::FastIndex
[src]
impl<'a, 'r, S1, S2> IntoSendStorage<'r> for StorageRef2<'a, S1, S2> where
S1: IntoSendStorage<'r>,
S2: IntoSendStorage<'r>,
[src]
impl<'a, 'r, S1, S2> IntoSendStorage<'r> for StorageRef2<'a, S1, S2> where
S1: IntoSendStorage<'r>,
S2: IntoSendStorage<'r>,
[src]type SendStorage = StorageRef2<'a, S1::SendStorage, S2::SendStorage>
fn into_send_storage(&'r mut self) -> Self::SendStorage
[src]
impl<'a, 'b, S1, S2> OptionStorage<'b> for StorageRef2<'a, S1, S2> where
S1: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S1::SendStorage: ReadOnlyStorage,
S2: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S2::SendStorage: ReadOnlyStorage,
[src]
impl<'a, 'b, S1, S2> OptionStorage<'b> for StorageRef2<'a, S1, S2> where
S1: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S1::SendStorage: ReadOnlyStorage,
S2: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S2::SendStorage: ReadOnlyStorage,
[src]type Iter = StorageIter<'b, StorageRef2<'b, <S1 as IntoSendStorage<'b>>::SendStorage, <S2 as IntoSendStorage<'b>>::SendStorage>>
fn iter(this: Option<&'b Self>) -> Self::Iter
[src]
fn iter_for_entities<E>(
this: Option<&'r Self>,
entities_iter: E
) -> E::IntoEntitiesIter where
E: IntoEntitiesIterator<'r, Self::SendStorage>,
[src]
this: Option<&'r Self>,
entities_iter: E
) -> E::IntoEntitiesIter where
E: IntoEntitiesIterator<'r, Self::SendStorage>,
fn iter_for_entities_opt<E>(
this: Option<&'r Self>,
entities_iter: E
) -> E::IntoEntitiesOptIter where
E: IntoEntitiesIterator<'r, Self::SendStorage>,
[src]
this: Option<&'r Self>,
entities_iter: E
) -> E::IntoEntitiesOptIter where
E: IntoEntitiesIterator<'r, Self::SendStorage>,
impl<'a, 'b, S1, S2> OptionStorageMut<'b> for StorageRef2<'a, S1, S2> where
S1: StorageRef<'b> + IntoSendStorage<'b>,
S2: StorageRef<'b> + IntoSendStorage<'b>,
[src]
impl<'a, 'b, S1, S2> OptionStorageMut<'b> for StorageRef2<'a, S1, S2> where
S1: StorageRef<'b> + IntoSendStorage<'b>,
S2: StorageRef<'b> + IntoSendStorage<'b>,
[src]type IterMut = StorageIterMut<'b, StorageRef2<'b, <S1 as IntoSendStorage<'b>>::SendStorage, <S2 as IntoSendStorage<'b>>::SendStorage>, <StorageRef2<'b, <S1 as IntoSendStorage<'b>>::SendStorage, <S2 as IntoSendStorage<'b>>::SendStorage> as StorageRef<'b>>::Component>
fn iter_mut(this: Option<&'b mut Self>) -> Self::IterMut
[src]
fn iter_for_entities_mut<E>(
this: Option<&'r mut Self>,
entities_iter: E
) -> E::IntoEntitiesIterMut where
E: IntoEntitiesIterator<'r, Self::SendStorage>,
[src]
this: Option<&'r mut Self>,
entities_iter: E
) -> E::IntoEntitiesIterMut where
E: IntoEntitiesIterator<'r, Self::SendStorage>,
fn iter_for_entities_opt_mut<E>(
this: Option<&'r mut Self>,
entities_iter: E
) -> E::IntoEntitiesOptIterMut where
E: IntoEntitiesIterator<'r, Self::SendStorage>,
[src]
this: Option<&'r mut Self>,
entities_iter: E
) -> E::IntoEntitiesOptIterMut where
E: IntoEntitiesIterator<'r, Self::SendStorage>,
impl<'a, 'r, S1, S2> ParOptionStorage<'r> for StorageRef2<'a, S1, S2> where
S1: StorageRef<'r> + 'r,
S2: StorageRef<'r> + 'r,
S1: IntoSendStorage<'r>,
S2: IntoSendStorage<'r>,
S1::SendStorage: ReadOnlyStorage,
S2::SendStorage: ReadOnlyStorage,
[src]
impl<'a, 'r, S1, S2> ParOptionStorage<'r> for StorageRef2<'a, S1, S2> where
S1: StorageRef<'r> + 'r,
S2: StorageRef<'r> + 'r,
S1: IntoSendStorage<'r>,
S2: IntoSendStorage<'r>,
S1::SendStorage: ReadOnlyStorage,
S2::SendStorage: ReadOnlyStorage,
[src]type ParIter = ParStorageIter<'r, Self::SendStorage>
fn par_iter(this: Option<&'r Self>) -> Self::ParIter
[src]
fn par_iter_for_entities<E>(
this: Option<&'r Self>,
entities_iter: E
) -> E::IntoEntitiesParIter where
E: IntoEntitiesParIterator<'r, Self::SendStorage>,
[src]
this: Option<&'r Self>,
entities_iter: E
) -> E::IntoEntitiesParIter where
E: IntoEntitiesParIterator<'r, Self::SendStorage>,
fn par_iter_for_entities_opt<E>(
this: Option<&'r Self>,
entities_iter: E
) -> E::IntoEntitiesOptParIter where
E: IntoEntitiesParIterator<'r, Self::SendStorage>,
[src]
this: Option<&'r Self>,
entities_iter: E
) -> E::IntoEntitiesOptParIter where
E: IntoEntitiesParIterator<'r, Self::SendStorage>,
impl<'a, 'r, S1, S2> ParOptionStorageMut<'r> for StorageRef2<'a, S1, S2> where
S1: StorageRef<'r> + 'r,
S2: StorageRef<'r> + 'r,
S1: IntoSendStorage<'r>,
S2: IntoSendStorage<'r>,
[src]
impl<'a, 'r, S1, S2> ParOptionStorageMut<'r> for StorageRef2<'a, S1, S2> where
S1: StorageRef<'r> + 'r,
S2: StorageRef<'r> + 'r,
S1: IntoSendStorage<'r>,
S2: IntoSendStorage<'r>,
[src]type ParIterMut = ParStorageIter<'r, Self::SendStorage>
fn par_iter_mut(this: Option<&'r mut Self>) -> Self::ParIterMut
[src]
fn par_iter_for_entities_mut<E>(
this: Option<&'r mut Self>,
entities_iter: E
) -> E::IntoEntitiesParIterMut where
E: IntoEntitiesParIterator<'r, Self::SendStorage>,
[src]
this: Option<&'r mut Self>,
entities_iter: E
) -> E::IntoEntitiesParIterMut where
E: IntoEntitiesParIterator<'r, Self::SendStorage>,
fn par_iter_for_entities_opt_mut<E>(
this: Option<&'r mut Self>,
entities_iter: E
) -> E::IntoEntitiesOptParIterMut where
E: IntoEntitiesParIterator<'r, Self::SendStorage>,
[src]
this: Option<&'r mut Self>,
entities_iter: E
) -> E::IntoEntitiesOptParIterMut where
E: IntoEntitiesParIterator<'r, Self::SendStorage>,
impl<'a, 'r, S1, S2> StorageRef<'r> for StorageRef2<'a, S1, S2> where
S1: StorageRef<'r>,
S2: StorageRef<'r>,
[src]
impl<'a, 'r, S1, S2> StorageRef<'r> for StorageRef2<'a, S1, S2> where
S1: StorageRef<'r>,
S2: StorageRef<'r>,
[src]type Data = (<S1 as StorageRef<'r>>::Data, <S2 as StorageRef<'r>>::Data)
type Component = (<S1 as StorageRef<'r>>::Component, <S2 as StorageRef<'r>>::Component)
unsafe fn get_fast_unchecked(
&'r mut self,
idx: Self::FastIndex
) -> Self::Component
[src]
&'r mut self,
idx: Self::FastIndex
) -> Self::Component
unsafe fn get_unchecked(&'r mut self, guid: usize) -> Self::Component
[src]
fn contains(&self, guid: usize) -> bool
[src]
fn get(&'r mut self, entity: &Entity) -> Option<Self::Component>
[src]
impl<'a, S1, S2> ReadOnlyStorage for StorageRef2<'a, S1, S2> where
S1: ReadOnlyStorage,
S2: ReadOnlyStorage,
[src]
S1: ReadOnlyStorage,
S2: ReadOnlyStorage,
Auto Trait Implementations
impl<'a, S1, S2> !RefUnwindSafe for StorageRef2<'a, S1, S2>
impl<'a, S1, S2> Send for StorageRef2<'a, S1, S2> where
S1: Send,
S2: Send,
S1: Send,
S2: Send,
impl<'a, S1, S2> Sync for StorageRef2<'a, S1, S2> where
S1: Sync,
S2: Sync,
S1: Sync,
S2: Sync,
impl<'a, S1, S2> Unpin for StorageRef2<'a, S1, S2> where
S1: Unpin,
S2: Unpin,
S1: Unpin,
S2: Unpin,