Trait shipyard::IntoWithId [−][src]
Creates iterator returning EntityId
.
Required methods
fn with_id(self) -> WithId<Self>ⓘ where
Self: Sized,
[src]
Self: Sized,
Makes the iterator return the EntityId
in addition to the component.
fn ids(
self
) -> Map<WithId<Self>, fn(_: <WithId<Self> as Iterator>::Item) -> EntityId> where
Self: Sized + Iterator,
WithId<Self>: Iterator<Item = (EntityId, Self::Item)>,
[src]
self
) -> Map<WithId<Self>, fn(_: <WithId<Self> as Iterator>::Item) -> EntityId> where
Self: Sized + Iterator,
WithId<Self>: Iterator<Item = (EntityId, Self::Item)>,
Makes the iterator only return the EntityId
of each component.
Implementors
impl<I> IntoWithId for I where
I: Iterator,
WithId<I>: Iterator<Item = (EntityId, Self::Item)>,
[src]
I: Iterator,
WithId<I>: Iterator<Item = (EntityId, Self::Item)>,