Trait rin::ecs::IntoEntitiesIterator[][src]

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

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

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

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

pub 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
    I: IntoIterator<Item = &'e Entity>,
    S: StorageRef<'a> + 'a, 
[src]

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

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

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

type IntoEntitiesOptIterMut = EntitiesComponentOptIterMut<'a, Copied<<I as IntoIterator>::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
    I: Iterator<Item = &'a Entity>,
    S: StorageRef<'a> + 'a, 
[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...