Trait rinecs::IntoEntitiesIterator[][src]

pub trait IntoEntitiesIterator<'a, S> {
    type IntoEntitiesIter;
    type IntoEntitiesIterMut;
    type IntoEntitiesOptIter;
    type IntoEntitiesOptIterMut;
    fn storage_entities_iter(self, storage: Option<S>) -> Self::IntoEntitiesIter
    where
        S: ReadOnlyStorage
;
fn storage_entities_iter_mut(
        self,
        storage: Option<S>
    ) -> Self::IntoEntitiesIterMut;
fn storage_entities_opt_iter(
        self,
        storage: Option<S>
    ) -> Self::IntoEntitiesOptIter
    where
        S: ReadOnlyStorage
;
fn storage_entities_opt_iter_mut(
        self,
        storage: Option<S>
    ) -> Self::IntoEntitiesOptIterMut; }

Associated Types

type IntoEntitiesIter[src]

type IntoEntitiesIterMut[src]

type IntoEntitiesOptIter[src]

type IntoEntitiesOptIterMut[src]

Loading content...

Required methods

fn storage_entities_iter(self, storage: Option<S>) -> Self::IntoEntitiesIter where
    S: ReadOnlyStorage
[src]

fn storage_entities_iter_mut(
    self,
    storage: Option<S>
) -> Self::IntoEntitiesIterMut
[src]

fn storage_entities_opt_iter(
    self,
    storage: Option<S>
) -> Self::IntoEntitiesOptIter where
    S: ReadOnlyStorage
[src]

fn storage_entities_opt_iter_mut(
    self,
    storage: Option<S>
) -> Self::IntoEntitiesOptIterMut
[src]

Loading content...

Implementors

impl<'a, 'e, S, I> IntoEntitiesIterator<'a, S> for I where
    S: StorageRef<'a> + 'a,
    I: IntoIterator<Item = &'e Entity>, 
[src]

type IntoEntitiesIter = EntitiesComponentIter<'a, Copied<I::IntoIter>, S>

type IntoEntitiesIterMut = EntitiesComponentIterMut<'a, Copied<I::IntoIter>, S>

type IntoEntitiesOptIter = EntitiesComponentOptIter<'a, Copied<I::IntoIter>, S>

type IntoEntitiesOptIterMut = EntitiesComponentOptIterMut<'a, Copied<I::IntoIter>, S>

impl<'a, S> IntoEntitiesIterator<'a, S> for &'a UniqueEntities where
    S: StorageRef<'a> + 'a, 
[src]

type IntoEntitiesIter = EntitiesComponentIter<'a, Copied<Iter<'a, Entity>>, S>

type IntoEntitiesIterMut = EntitiesComponentIter<'a, Copied<Iter<'a, Entity>>, S>

type IntoEntitiesOptIter = EntitiesComponentOptIter<'a, Copied<Iter<'a, Entity>>, S>

type IntoEntitiesOptIterMut = EntitiesComponentOptIter<'a, Copied<Iter<'a, Entity>>, S>

impl<'a, S, I> IntoEntitiesIterator<'a, S> for UniqueEntitiesIterWrapper<I> where
    S: StorageRef<'a> + 'a,
    I: Iterator<Item = &'a Entity>, 
[src]

type IntoEntitiesIter = EntitiesComponentIter<'a, Copied<I>, S>

type IntoEntitiesIterMut = EntitiesComponentIter<'a, Copied<I>, S>

type IntoEntitiesOptIter = EntitiesComponentOptIter<'a, Copied<I>, S>

type IntoEntitiesOptIterMut = EntitiesComponentOptIter<'a, Copied<I>, S>

Loading content...