Struct rin::ecs::operators::combined_unordered::StorageRef4 [−][src]
pub struct StorageRef4<'a, S1, S2, S3, S4> { /* fields omitted */ }
Trait Implementations
impl<'a, S1, S2, S3, S4> FastIndexExt for StorageRef4<'a, S1, S2, S3, S4> where
S2: FastIndexExt,
S3: FastIndexExt,
S4: FastIndexExt,
S1: FastIndexExt,
[src]
impl<'a, S1, S2, S3, S4> FastIndexExt for StorageRef4<'a, S1, S2, S3, S4> where
S2: FastIndexExt,
S3: FastIndexExt,
S4: FastIndexExt,
S1: FastIndexExt,
[src]type FastIndex = (<S1 as FastIndexExt>::FastIndex, <S2 as FastIndexExt>::FastIndex, <S3 as FastIndexExt>::FastIndex, <S4 as FastIndexExt>::FastIndex)
type StaticTypeId = (<S1 as FastIndexExt>::StaticTypeId, <S2 as FastIndexExt>::StaticTypeId, <S3 as FastIndexExt>::StaticTypeId, <S4 as FastIndexExt>::StaticTypeId)
pub fn fast_index(
&self,
guid: usize
) -> <StorageRef4<'a, S1, S2, S3, S4> as FastIndexExt>::FastIndex
[src]
&self,
guid: usize
) -> <StorageRef4<'a, S1, S2, S3, S4> as FastIndexExt>::FastIndex
impl<'a, 'r, S1, S2, S3, S4> IntoSendStorage<'r> for StorageRef4<'a, S1, S2, S3, S4> where
S2: IntoSendStorage<'r>,
S3: IntoSendStorage<'r>,
S4: IntoSendStorage<'r>,
S1: IntoSendStorage<'r>,
[src]
impl<'a, 'r, S1, S2, S3, S4> IntoSendStorage<'r> for StorageRef4<'a, S1, S2, S3, S4> where
S2: IntoSendStorage<'r>,
S3: IntoSendStorage<'r>,
S4: IntoSendStorage<'r>,
S1: IntoSendStorage<'r>,
[src]type SendStorage = StorageRef4<'a, <S1 as IntoSendStorage<'r>>::SendStorage, <S2 as IntoSendStorage<'r>>::SendStorage, <S3 as IntoSendStorage<'r>>::SendStorage, <S4 as IntoSendStorage<'r>>::SendStorage>
pub fn into_send_storage(
&'r mut self
) -> <StorageRef4<'a, S1, S2, S3, S4> as IntoSendStorage<'r>>::SendStorage
[src]
&'r mut self
) -> <StorageRef4<'a, S1, S2, S3, S4> as IntoSendStorage<'r>>::SendStorage
impl<'a, 'b, S1, S2, S3, S4> OptionStorage<'b> for StorageRef4<'a, S1, S2, S3, S4> where
S2: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S3: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S4: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S1: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
<S1 as IntoSendStorage<'b>>::SendStorage: ReadOnlyStorage,
<S2 as IntoSendStorage<'b>>::SendStorage: ReadOnlyStorage,
<S3 as IntoSendStorage<'b>>::SendStorage: ReadOnlyStorage,
<S4 as IntoSendStorage<'b>>::SendStorage: ReadOnlyStorage,
[src]
impl<'a, 'b, S1, S2, S3, S4> OptionStorage<'b> for StorageRef4<'a, S1, S2, S3, S4> where
S2: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S3: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S4: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S1: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
<S1 as IntoSendStorage<'b>>::SendStorage: ReadOnlyStorage,
<S2 as IntoSendStorage<'b>>::SendStorage: ReadOnlyStorage,
<S3 as IntoSendStorage<'b>>::SendStorage: ReadOnlyStorage,
<S4 as IntoSendStorage<'b>>::SendStorage: ReadOnlyStorage,
[src]type Iter = StorageIter<'b, StorageRef4<'b, <S1 as IntoSendStorage<'b>>::SendStorage, <S2 as IntoSendStorage<'b>>::SendStorage, <S3 as IntoSendStorage<'b>>::SendStorage, <S4 as IntoSendStorage<'b>>::SendStorage>>
pub fn iter(
this: Option<&'b StorageRef4<'a, S1, S2, S3, S4>>
) -> <StorageRef4<'a, S1, S2, S3, S4> as OptionStorage<'b>>::Iter
[src]
this: Option<&'b StorageRef4<'a, S1, S2, S3, S4>>
) -> <StorageRef4<'a, S1, S2, S3, S4> as OptionStorage<'b>>::Iter
pub fn iter_for_entities<E>(
this: Option<&'r Self>,
entities_iter: E
) -> <E as IntoEntitiesIterator<'r, Self::SendStorage>>::IntoEntitiesIter where
E: IntoEntitiesIterator<'r, Self::SendStorage>,
[src]
this: Option<&'r Self>,
entities_iter: E
) -> <E as IntoEntitiesIterator<'r, Self::SendStorage>>::IntoEntitiesIter where
E: IntoEntitiesIterator<'r, Self::SendStorage>,
pub fn iter_for_entities_opt<E>(
this: Option<&'r Self>,
entities_iter: E
) -> <E as IntoEntitiesIterator<'r, Self::SendStorage>>::IntoEntitiesOptIter where
E: IntoEntitiesIterator<'r, Self::SendStorage>,
[src]
this: Option<&'r Self>,
entities_iter: E
) -> <E as IntoEntitiesIterator<'r, Self::SendStorage>>::IntoEntitiesOptIter where
E: IntoEntitiesIterator<'r, Self::SendStorage>,
impl<'a, 'b, S1, S2, S3, S4> OptionStorageMut<'b> for StorageRef4<'a, S1, S2, S3, S4> where
S2: StorageRef<'b> + IntoSendStorage<'b>,
S3: StorageRef<'b> + IntoSendStorage<'b>,
S4: StorageRef<'b> + IntoSendStorage<'b>,
S1: StorageRef<'b> + IntoSendStorage<'b>,
[src]
impl<'a, 'b, S1, S2, S3, S4> OptionStorageMut<'b> for StorageRef4<'a, S1, S2, S3, S4> where
S2: StorageRef<'b> + IntoSendStorage<'b>,
S3: StorageRef<'b> + IntoSendStorage<'b>,
S4: StorageRef<'b> + IntoSendStorage<'b>,
S1: StorageRef<'b> + IntoSendStorage<'b>,
[src]type IterMut = StorageIterMut<'b, StorageRef4<'b, <S1 as IntoSendStorage<'b>>::SendStorage, <S2 as IntoSendStorage<'b>>::SendStorage, <S3 as IntoSendStorage<'b>>::SendStorage, <S4 as IntoSendStorage<'b>>::SendStorage>, <StorageRef4<'b, <S1 as IntoSendStorage<'b>>::SendStorage, <S2 as IntoSendStorage<'b>>::SendStorage, <S3 as IntoSendStorage<'b>>::SendStorage, <S4 as IntoSendStorage<'b>>::SendStorage> as StorageRef<'b>>::Component>
pub fn iter_mut(
this: Option<&'b mut StorageRef4<'a, S1, S2, S3, S4>>
) -> <StorageRef4<'a, S1, S2, S3, S4> as OptionStorageMut<'b>>::IterMut
[src]
this: Option<&'b mut StorageRef4<'a, S1, S2, S3, S4>>
) -> <StorageRef4<'a, S1, S2, S3, S4> as OptionStorageMut<'b>>::IterMut
pub fn iter_for_entities_mut<E>(
this: Option<&'r mut Self>,
entities_iter: E
) -> <E as IntoEntitiesIterator<'r, Self::SendStorage>>::IntoEntitiesIterMut where
E: IntoEntitiesIterator<'r, Self::SendStorage>,
[src]
this: Option<&'r mut Self>,
entities_iter: E
) -> <E as IntoEntitiesIterator<'r, Self::SendStorage>>::IntoEntitiesIterMut where
E: IntoEntitiesIterator<'r, Self::SendStorage>,
pub fn iter_for_entities_opt_mut<E>(
this: Option<&'r mut Self>,
entities_iter: E
) -> <E as IntoEntitiesIterator<'r, Self::SendStorage>>::IntoEntitiesOptIterMut where
E: IntoEntitiesIterator<'r, Self::SendStorage>,
[src]
this: Option<&'r mut Self>,
entities_iter: E
) -> <E as IntoEntitiesIterator<'r, Self::SendStorage>>::IntoEntitiesOptIterMut where
E: IntoEntitiesIterator<'r, Self::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]
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>
pub fn par_iter(
this: Option<&'r StorageRef4<'a, S1, S2, S3, S4>>
) -> <StorageRef4<'a, S1, S2, S3, S4> as ParOptionStorage<'r>>::ParIter
[src]
this: Option<&'r StorageRef4<'a, S1, S2, S3, S4>>
) -> <StorageRef4<'a, S1, S2, S3, S4> as ParOptionStorage<'r>>::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>,
[src]
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>,
[src]
this: Option<&'r Self>,
entities_iter: E
) -> <E as IntoEntitiesParIterator<'r, Self::SendStorage>>::IntoEntitiesOptParIter where
E: IntoEntitiesParIterator<'r, Self::SendStorage>,
impl<'a, 'r, S1, S2, S3, S4> ParOptionStorageMut<'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>,
[src]
impl<'a, 'r, S1, S2, S3, S4> ParOptionStorageMut<'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>,
[src]type ParIterMut = ParStorageIter<'r, <StorageRef4<'a, S1, S2, S3, S4> as IntoSendStorage<'r>>::SendStorage>
pub fn par_iter_mut(
this: Option<&'r mut StorageRef4<'a, S1, S2, S3, S4>>
) -> <StorageRef4<'a, S1, S2, S3, S4> as ParOptionStorageMut<'r>>::ParIterMut
[src]
this: Option<&'r mut StorageRef4<'a, S1, S2, S3, S4>>
) -> <StorageRef4<'a, S1, S2, S3, S4> as ParOptionStorageMut<'r>>::ParIterMut
pub fn par_iter_for_entities_mut<E>(
this: Option<&'r mut Self>,
entities_iter: E
) -> <E as IntoEntitiesParIterator<'r, Self::SendStorage>>::IntoEntitiesParIterMut where
E: IntoEntitiesParIterator<'r, Self::SendStorage>,
[src]
this: Option<&'r mut Self>,
entities_iter: E
) -> <E as IntoEntitiesParIterator<'r, Self::SendStorage>>::IntoEntitiesParIterMut where
E: IntoEntitiesParIterator<'r, Self::SendStorage>,
pub fn par_iter_for_entities_opt_mut<E>(
this: Option<&'r mut Self>,
entities_iter: E
) -> <E as IntoEntitiesParIterator<'r, Self::SendStorage>>::IntoEntitiesOptParIterMut where
E: IntoEntitiesParIterator<'r, Self::SendStorage>,
[src]
this: Option<&'r mut Self>,
entities_iter: E
) -> <E as IntoEntitiesParIterator<'r, Self::SendStorage>>::IntoEntitiesOptParIterMut where
E: IntoEntitiesParIterator<'r, Self::SendStorage>,
impl<'a, 'r, S1, S2, S3, S4> StorageRef<'r> for StorageRef4<'a, S1, S2, S3, S4> where
S2: StorageRef<'r>,
S3: StorageRef<'r>,
S4: StorageRef<'r>,
S1: StorageRef<'r>,
[src]
impl<'a, 'r, S1, S2, S3, S4> StorageRef<'r> for StorageRef4<'a, S1, S2, S3, S4> where
S2: StorageRef<'r>,
S3: StorageRef<'r>,
S4: StorageRef<'r>,
S1: StorageRef<'r>,
[src]type Data = (<S1 as StorageRef<'r>>::Data, <S2 as StorageRef<'r>>::Data, <S3 as StorageRef<'r>>::Data, <S4 as StorageRef<'r>>::Data)
type Component = (<S1 as StorageRef<'r>>::Component, <S2 as StorageRef<'r>>::Component, <S3 as StorageRef<'r>>::Component, <S4 as StorageRef<'r>>::Component)
pub unsafe fn get_fast_unchecked(
&'r mut self,
idx: <StorageRef4<'a, S1, S2, S3, S4> as FastIndexExt>::FastIndex
) -> <StorageRef4<'a, S1, S2, S3, S4> as StorageRef<'r>>::Component
[src]
&'r mut self,
idx: <StorageRef4<'a, S1, S2, S3, S4> as FastIndexExt>::FastIndex
) -> <StorageRef4<'a, S1, S2, S3, S4> as StorageRef<'r>>::Component
pub unsafe fn get_unchecked(
&'r mut self,
guid: usize
) -> <StorageRef4<'a, S1, S2, S3, S4> as StorageRef<'r>>::Component
[src]
&'r mut self,
guid: usize
) -> <StorageRef4<'a, S1, S2, S3, S4> as StorageRef<'r>>::Component
pub fn contains(&self, guid: usize) -> bool
[src]
pub fn get(&'r mut self, entity: &Entity) -> Option<Self::Component>
[src]
impl<'a, S1, S2, S3, S4> ReadOnlyStorage for StorageRef4<'a, S1, S2, S3, S4> where
S2: ReadOnlyStorage,
S3: ReadOnlyStorage,
S4: ReadOnlyStorage,
S1: ReadOnlyStorage,
[src]
S2: ReadOnlyStorage,
S3: ReadOnlyStorage,
S4: ReadOnlyStorage,
S1: ReadOnlyStorage,
Auto Trait Implementations
impl<'a, S1, S2, S3, S4> !RefUnwindSafe for StorageRef4<'a, S1, S2, S3, S4>
impl<'a, S1, S2, S3, S4> Send for StorageRef4<'a, S1, S2, S3, S4> where
S1: Send,
S2: Send,
S3: Send,
S4: Send,
S1: Send,
S2: Send,
S3: Send,
S4: Send,
impl<'a, S1, S2, S3, S4> Sync for StorageRef4<'a, S1, S2, S3, S4> where
S1: Sync,
S2: Sync,
S3: Sync,
S4: Sync,
S1: Sync,
S2: Sync,
S3: Sync,
S4: Sync,
impl<'a, S1, S2, S3, S4> Unpin for StorageRef4<'a, S1, S2, S3, S4> where
S1: Unpin,
S2: Unpin,
S3: Unpin,
S4: Unpin,
S1: Unpin,
S2: Unpin,
S3: Unpin,
S4: Unpin,
impl<'a, S1, S2, S3, S4> !UnwindSafe for StorageRef4<'a, S1, S2, S3, S4>
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]