Struct rin::ecs::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
S2: FastIndexExt,
S1: FastIndexExt,
[src]
impl<'a, S1, S2> FastIndexExt for StorageRef2<'a, S1, S2> where
S2: FastIndexExt,
S1: FastIndexExt,
[src]type FastIndex = (<S1 as FastIndexExt>::FastIndex, <S2 as FastIndexExt>::FastIndex)
type StaticTypeId = (<S1 as FastIndexExt>::StaticTypeId, <S2 as FastIndexExt>::StaticTypeId)
pub fn fast_index(
&self,
guid: usize
) -> <StorageRef2<'a, S1, S2> as FastIndexExt>::FastIndex
[src]
&self,
guid: usize
) -> <StorageRef2<'a, S1, S2> as FastIndexExt>::FastIndex
impl<'a, 'r, S1, S2> IntoSendStorage<'r> for StorageRef2<'a, S1, S2> where
S2: IntoSendStorage<'r>,
S1: IntoSendStorage<'r>,
[src]
impl<'a, 'r, S1, S2> IntoSendStorage<'r> for StorageRef2<'a, S1, S2> where
S2: IntoSendStorage<'r>,
S1: IntoSendStorage<'r>,
[src]type SendStorage = StorageRef2<'a, <S1 as IntoSendStorage<'r>>::SendStorage, <S2 as IntoSendStorage<'r>>::SendStorage>
pub fn into_send_storage(
&'r mut self
) -> <StorageRef2<'a, S1, S2> as IntoSendStorage<'r>>::SendStorage
[src]
&'r mut self
) -> <StorageRef2<'a, S1, S2> as IntoSendStorage<'r>>::SendStorage
impl<'a, 'b, S1, S2> OptionStorage<'b> for StorageRef2<'a, S1, S2> where
S2: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S1: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
<S1 as IntoSendStorage<'b>>::SendStorage: ReadOnlyStorage,
<S2 as IntoSendStorage<'b>>::SendStorage: ReadOnlyStorage,
[src]
impl<'a, 'b, S1, S2> OptionStorage<'b> for StorageRef2<'a, S1, S2> where
S2: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S1: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
<S1 as IntoSendStorage<'b>>::SendStorage: ReadOnlyStorage,
<S2 as IntoSendStorage<'b>>::SendStorage: ReadOnlyStorage,
[src]type Iter = StorageIter<'b, StorageRef2<'b, <S1 as IntoSendStorage<'b>>::SendStorage, <S2 as IntoSendStorage<'b>>::SendStorage>>
pub fn iter(
this: Option<&'b StorageRef2<'a, S1, S2>>
) -> <StorageRef2<'a, S1, S2> as OptionStorage<'b>>::Iter
[src]
this: Option<&'b StorageRef2<'a, S1, S2>>
) -> <StorageRef2<'a, S1, S2> 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> OptionStorageMut<'b> for StorageRef2<'a, S1, S2> where
S2: StorageRef<'b> + IntoSendStorage<'b>,
S1: StorageRef<'b> + IntoSendStorage<'b>,
[src]
impl<'a, 'b, S1, S2> OptionStorageMut<'b> for StorageRef2<'a, S1, S2> where
S2: StorageRef<'b> + IntoSendStorage<'b>,
S1: 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>
pub fn iter_mut(
this: Option<&'b mut StorageRef2<'a, S1, S2>>
) -> <StorageRef2<'a, S1, S2> as OptionStorageMut<'b>>::IterMut
[src]
this: Option<&'b mut StorageRef2<'a, S1, S2>>
) -> <StorageRef2<'a, S1, S2> 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> 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]
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>
pub fn par_iter(
this: Option<&'r StorageRef2<'a, S1, S2>>
) -> <StorageRef2<'a, S1, S2> as ParOptionStorage<'r>>::ParIter
[src]
this: Option<&'r StorageRef2<'a, S1, S2>>
) -> <StorageRef2<'a, S1, S2> 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> ParOptionStorageMut<'r> for StorageRef2<'a, S1, S2> where
S2: StorageRef<'r> + 'r + IntoSendStorage<'r>,
S1: StorageRef<'r> + 'r + IntoSendStorage<'r>,
[src]
impl<'a, 'r, S1, S2> ParOptionStorageMut<'r> for StorageRef2<'a, S1, S2> where
S2: StorageRef<'r> + 'r + IntoSendStorage<'r>,
S1: StorageRef<'r> + 'r + IntoSendStorage<'r>,
[src]type ParIterMut = ParStorageIter<'r, <StorageRef2<'a, S1, S2> as IntoSendStorage<'r>>::SendStorage>
pub fn par_iter_mut(
this: Option<&'r mut StorageRef2<'a, S1, S2>>
) -> <StorageRef2<'a, S1, S2> as ParOptionStorageMut<'r>>::ParIterMut
[src]
this: Option<&'r mut StorageRef2<'a, S1, S2>>
) -> <StorageRef2<'a, S1, S2> 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> StorageRef<'r> for StorageRef2<'a, S1, S2> where
S2: StorageRef<'r>,
S1: StorageRef<'r>,
[src]
impl<'a, 'r, S1, S2> StorageRef<'r> for StorageRef2<'a, S1, S2> where
S2: StorageRef<'r>,
S1: 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)
pub unsafe fn get_fast_unchecked(
&'r mut self,
idx: <StorageRef2<'a, S1, S2> as FastIndexExt>::FastIndex
) -> <StorageRef2<'a, S1, S2> as StorageRef<'r>>::Component
[src]
&'r mut self,
idx: <StorageRef2<'a, S1, S2> as FastIndexExt>::FastIndex
) -> <StorageRef2<'a, S1, S2> as StorageRef<'r>>::Component
pub unsafe fn get_unchecked(
&'r mut self,
guid: usize
) -> <StorageRef2<'a, S1, S2> as StorageRef<'r>>::Component
[src]
&'r mut self,
guid: usize
) -> <StorageRef2<'a, S1, S2> 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> ReadOnlyStorage for StorageRef2<'a, S1, S2> where
S2: ReadOnlyStorage,
S1: ReadOnlyStorage,
[src]
S2: ReadOnlyStorage,
S1: 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,
impl<'a, S1, S2> !UnwindSafe for StorageRef2<'a, S1, S2>
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]