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

pub trait OptionStorageMut<'r>: IntoSendStorage<'r> {
    type IterMut;
    pub fn iter_mut(this: Option<&'r mut Self>) -> Self::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>
, { ... }
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>
, { ... } }

Associated Types

type IterMut[src]

Loading content...

Required methods

pub fn iter_mut(this: Option<&'r mut Self>) -> Self::IterMut[src]

Loading content...

Provided methods

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]

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]

Loading content...

Implementors

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>

impl<'a, 'b, S1, S2, S3> OptionStorageMut<'b> for StorageRef3<'a, S1, S2, S3> where
    S2: StorageRef<'b> + IntoSendStorage<'b>,
    S3: StorageRef<'b> + IntoSendStorage<'b>,
    S1: StorageRef<'b> + IntoSendStorage<'b>, 
[src]

type IterMut = StorageIterMut<'b, StorageRef3<'b, <S1 as IntoSendStorage<'b>>::SendStorage, <S2 as IntoSendStorage<'b>>::SendStorage, <S3 as IntoSendStorage<'b>>::SendStorage>, <StorageRef3<'b, <S1 as IntoSendStorage<'b>>::SendStorage, <S2 as IntoSendStorage<'b>>::SendStorage, <S3 as IntoSendStorage<'b>>::SendStorage> as StorageRef<'b>>::Component>

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>

impl<'a, 'b, S1, S2, S3, S4, S5> OptionStorageMut<'b> for StorageRef5<'a, S1, S2, S3, S4, S5> where
    S2: StorageRef<'b> + IntoSendStorage<'b>,
    S3: StorageRef<'b> + IntoSendStorage<'b>,
    S4: StorageRef<'b> + IntoSendStorage<'b>,
    S1: StorageRef<'b> + IntoSendStorage<'b>,
    S5: StorageRef<'b> + IntoSendStorage<'b>, 
[src]

type IterMut = StorageIterMut<'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>, <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> as StorageRef<'b>>::Component>

impl<'a, 'b, S1, S2, S3, S4, S5, S6> OptionStorageMut<'b> for StorageRef6<'a, S1, S2, S3, S4, S5, S6> where
    S2: StorageRef<'b> + IntoSendStorage<'b>,
    S3: StorageRef<'b> + IntoSendStorage<'b>,
    S4: StorageRef<'b> + IntoSendStorage<'b>,
    S1: StorageRef<'b> + IntoSendStorage<'b>,
    S5: StorageRef<'b> + IntoSendStorage<'b>,
    S6: StorageRef<'b> + IntoSendStorage<'b>, 
[src]

type IterMut = StorageIterMut<'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>, <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> as StorageRef<'b>>::Component>

impl<'a, 'b, S1, S2, S3, S4, S5, S6, S7> OptionStorageMut<'b> for StorageRef7<'a, S1, S2, S3, S4, S5, S6, S7> where
    S2: StorageRef<'b> + IntoSendStorage<'b>,
    S3: StorageRef<'b> + IntoSendStorage<'b>,
    S4: StorageRef<'b> + IntoSendStorage<'b>,
    S1: StorageRef<'b> + IntoSendStorage<'b>,
    S5: StorageRef<'b> + IntoSendStorage<'b>,
    S6: StorageRef<'b> + IntoSendStorage<'b>,
    S7: StorageRef<'b> + IntoSendStorage<'b>, 
[src]

type IterMut = StorageIterMut<'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>, <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> as StorageRef<'b>>::Component>

impl<'a, 'b, S1, S2, S3, S4, S5, S6, S7, S8> OptionStorageMut<'b> for StorageRef8<'a, S1, S2, S3, S4, S5, S6, S7, S8> where
    S2: StorageRef<'b> + IntoSendStorage<'b>,
    S3: StorageRef<'b> + IntoSendStorage<'b>,
    S4: StorageRef<'b> + IntoSendStorage<'b>,
    S1: StorageRef<'b> + IntoSendStorage<'b>,
    S5: StorageRef<'b> + IntoSendStorage<'b>,
    S6: StorageRef<'b> + IntoSendStorage<'b>,
    S7: StorageRef<'b> + IntoSendStorage<'b>,
    S8: StorageRef<'b> + IntoSendStorage<'b>, 
[src]

type IterMut = StorageIterMut<'b, StorageRef8<'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, <S8 as IntoSendStorage<'b>>::SendStorage>, <StorageRef8<'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, <S8 as IntoSendStorage<'b>>::SendStorage> as StorageRef<'b>>::Component>

Loading content...