Trait rinecs::operators::OptionStorage [−][src]
pub trait OptionStorage<'r>: IntoSendStorage<'r> where
Self::SendStorage: ReadOnlyStorage, { type Iter; fn iter(this: Option<&'r Self>) -> Self::Iter; fn iter_for_entities<E>(
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>, { ... } }
Associated Types
Loading content...Required methods
Loading content...Provided methods
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>,
Implementors
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]
impl<'a, 'b, S1, S2, S3> OptionStorage<'b> for StorageRef3<'a, S1, S2, S3> where
S1: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S1::SendStorage: ReadOnlyStorage,
S2: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S2::SendStorage: ReadOnlyStorage,
S3: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S3::SendStorage: ReadOnlyStorage,
[src]
impl<'a, 'b, S1, S2, S3> OptionStorage<'b> for StorageRef3<'a, S1, S2, S3> where
S1: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S1::SendStorage: ReadOnlyStorage,
S2: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S2::SendStorage: ReadOnlyStorage,
S3: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S3::SendStorage: ReadOnlyStorage,
[src]type Iter = StorageIter<'b, StorageRef3<'b, <S1 as IntoSendStorage<'b>>::SendStorage, <S2 as IntoSendStorage<'b>>::SendStorage, <S3 as IntoSendStorage<'b>>::SendStorage>>
fn iter(this: Option<&'b Self>) -> Self::Iter
[src]
impl<'a, 'b, S1, S2, S3, S4> OptionStorage<'b> for StorageRef4<'a, S1, S2, S3, S4> where
S1: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S1::SendStorage: ReadOnlyStorage,
S2: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S2::SendStorage: ReadOnlyStorage,
S3: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S3::SendStorage: ReadOnlyStorage,
S4: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S4::SendStorage: ReadOnlyStorage,
[src]
impl<'a, 'b, S1, S2, S3, S4> OptionStorage<'b> for StorageRef4<'a, S1, S2, S3, S4> where
S1: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S1::SendStorage: ReadOnlyStorage,
S2: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S2::SendStorage: ReadOnlyStorage,
S3: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S3::SendStorage: ReadOnlyStorage,
S4: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S4::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>>
fn iter(this: Option<&'b Self>) -> Self::Iter
[src]
impl<'a, 'b, S1, S2, S3, S4, S5> OptionStorage<'b> for StorageRef5<'a, S1, S2, S3, S4, S5> where
S1: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S1::SendStorage: ReadOnlyStorage,
S2: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S2::SendStorage: ReadOnlyStorage,
S3: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S3::SendStorage: ReadOnlyStorage,
S4: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S4::SendStorage: ReadOnlyStorage,
S5: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S5::SendStorage: ReadOnlyStorage,
[src]
impl<'a, 'b, S1, S2, S3, S4, S5> OptionStorage<'b> for StorageRef5<'a, S1, S2, S3, S4, S5> where
S1: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S1::SendStorage: ReadOnlyStorage,
S2: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S2::SendStorage: ReadOnlyStorage,
S3: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S3::SendStorage: ReadOnlyStorage,
S4: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S4::SendStorage: ReadOnlyStorage,
S5: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S5::SendStorage: ReadOnlyStorage,
[src]type Iter = StorageIter<'b, StorageRef5<'b, <S1 as IntoSendStorage<'b>>::SendStorage, <S2 as IntoSendStorage<'b>>::SendStorage, <S3 as IntoSendStorage<'b>>::SendStorage, <S4 as IntoSendStorage<'b>>::SendStorage, <S5 as IntoSendStorage<'b>>::SendStorage>>
fn iter(this: Option<&'b Self>) -> Self::Iter
[src]
impl<'a, 'b, S1, S2, S3, S4, S5, S6> OptionStorage<'b> for StorageRef6<'a, S1, S2, S3, S4, S5, S6> where
S1: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S1::SendStorage: ReadOnlyStorage,
S2: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S2::SendStorage: ReadOnlyStorage,
S3: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S3::SendStorage: ReadOnlyStorage,
S4: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S4::SendStorage: ReadOnlyStorage,
S5: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S5::SendStorage: ReadOnlyStorage,
S6: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S6::SendStorage: ReadOnlyStorage,
[src]
impl<'a, 'b, S1, S2, S3, S4, S5, S6> OptionStorage<'b> for StorageRef6<'a, S1, S2, S3, S4, S5, S6> where
S1: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S1::SendStorage: ReadOnlyStorage,
S2: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S2::SendStorage: ReadOnlyStorage,
S3: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S3::SendStorage: ReadOnlyStorage,
S4: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S4::SendStorage: ReadOnlyStorage,
S5: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S5::SendStorage: ReadOnlyStorage,
S6: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S6::SendStorage: ReadOnlyStorage,
[src]type Iter = StorageIter<'b, StorageRef6<'b, <S1 as IntoSendStorage<'b>>::SendStorage, <S2 as IntoSendStorage<'b>>::SendStorage, <S3 as IntoSendStorage<'b>>::SendStorage, <S4 as IntoSendStorage<'b>>::SendStorage, <S5 as IntoSendStorage<'b>>::SendStorage, <S6 as IntoSendStorage<'b>>::SendStorage>>
fn iter(this: Option<&'b Self>) -> Self::Iter
[src]
impl<'a, 'b, S1, S2, S3, S4, S5, S6, S7> OptionStorage<'b> for StorageRef7<'a, S1, S2, S3, S4, S5, S6, S7> where
S1: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S1::SendStorage: ReadOnlyStorage,
S2: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S2::SendStorage: ReadOnlyStorage,
S3: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S3::SendStorage: ReadOnlyStorage,
S4: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S4::SendStorage: ReadOnlyStorage,
S5: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S5::SendStorage: ReadOnlyStorage,
S6: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S6::SendStorage: ReadOnlyStorage,
S7: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S7::SendStorage: ReadOnlyStorage,
[src]
impl<'a, 'b, S1, S2, S3, S4, S5, S6, S7> OptionStorage<'b> for StorageRef7<'a, S1, S2, S3, S4, S5, S6, S7> where
S1: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S1::SendStorage: ReadOnlyStorage,
S2: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S2::SendStorage: ReadOnlyStorage,
S3: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S3::SendStorage: ReadOnlyStorage,
S4: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S4::SendStorage: ReadOnlyStorage,
S5: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S5::SendStorage: ReadOnlyStorage,
S6: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S6::SendStorage: ReadOnlyStorage,
S7: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S7::SendStorage: ReadOnlyStorage,
[src]type Iter = StorageIter<'b, StorageRef7<'b, <S1 as IntoSendStorage<'b>>::SendStorage, <S2 as IntoSendStorage<'b>>::SendStorage, <S3 as IntoSendStorage<'b>>::SendStorage, <S4 as IntoSendStorage<'b>>::SendStorage, <S5 as IntoSendStorage<'b>>::SendStorage, <S6 as IntoSendStorage<'b>>::SendStorage, <S7 as IntoSendStorage<'b>>::SendStorage>>
fn iter(this: Option<&'b Self>) -> Self::Iter
[src]
impl<'a, 'b, S1, S2, S3, S4, S5, S6, S7, S8> OptionStorage<'b> for StorageRef8<'a, S1, S2, S3, S4, S5, S6, S7, S8> where
S1: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S1::SendStorage: ReadOnlyStorage,
S2: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S2::SendStorage: ReadOnlyStorage,
S3: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S3::SendStorage: ReadOnlyStorage,
S4: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S4::SendStorage: ReadOnlyStorage,
S5: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S5::SendStorage: ReadOnlyStorage,
S6: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S6::SendStorage: ReadOnlyStorage,
S7: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S7::SendStorage: ReadOnlyStorage,
S8: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S8::SendStorage: ReadOnlyStorage,
[src]
impl<'a, 'b, S1, S2, S3, S4, S5, S6, S7, S8> OptionStorage<'b> for StorageRef8<'a, S1, S2, S3, S4, S5, S6, S7, S8> where
S1: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S1::SendStorage: ReadOnlyStorage,
S2: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S2::SendStorage: ReadOnlyStorage,
S3: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S3::SendStorage: ReadOnlyStorage,
S4: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S4::SendStorage: ReadOnlyStorage,
S5: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S5::SendStorage: ReadOnlyStorage,
S6: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S6::SendStorage: ReadOnlyStorage,
S7: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S7::SendStorage: ReadOnlyStorage,
S8: StorageRef<'b> + IntoSendStorage<'b> + ReadOnlyStorage,
S8::SendStorage: ReadOnlyStorage,
[src]