pub struct PreallocComponentSource<I: Iterator<Item = Entity> + FusedIterator, C: ComponentSource> { /* private fields */ }Implementations§
Source§impl<I: Iterator<Item = Entity>, C: ComponentSource> PreallocComponentSource<Fuse<I>, C>
impl<I: Iterator<Item = Entity>, C: ComponentSource> PreallocComponentSource<Fuse<I>, C>
Trait Implementations§
Source§impl<I: Iterator<Item = Entity> + FusedIterator, C: ComponentSource> ComponentLayout for PreallocComponentSource<I, C>
impl<I: Iterator<Item = Entity> + FusedIterator, C: ComponentSource> ComponentLayout for PreallocComponentSource<I, C>
Source§type Filter = <C as ComponentLayout>::Filter
type Filter = <C as ComponentLayout>::Filter
A filter type which filters archetypes to an exact match with this layout.
Source§fn get_filter(&mut self) -> &mut Self::Filter
fn get_filter(&mut self) -> &mut Self::Filter
Gets the archetype filter for this layout.
Source§fn tailor_archetype(&self, archetype: &mut ArchetypeDescription)
fn tailor_archetype(&self, archetype: &mut ArchetypeDescription)
Modifies an archetype description to include the components described by this layout.
Source§impl<I: Iterator<Item = Entity> + FusedIterator, C: ComponentSource> ComponentSource for PreallocComponentSource<I, C>
impl<I: Iterator<Item = Entity> + FusedIterator, C: ComponentSource> ComponentSource for PreallocComponentSource<I, C>
Source§impl<I: Iterator<Item = Entity> + FusedIterator, C: ComponentSource> IntoComponentSource for PreallocComponentSource<I, C>
impl<I: Iterator<Item = Entity> + FusedIterator, C: ComponentSource> IntoComponentSource for PreallocComponentSource<I, C>
Auto Trait Implementations§
impl<I, C> Freeze for PreallocComponentSource<I, C>
impl<I, C> RefUnwindSafe for PreallocComponentSource<I, C>where
I: RefUnwindSafe,
C: RefUnwindSafe,
impl<I, C> Send for PreallocComponentSource<I, C>
impl<I, C> Sync for PreallocComponentSource<I, C>
impl<I, C> Unpin for PreallocComponentSource<I, C>
impl<I, C> UnwindSafe for PreallocComponentSource<I, C>where
I: UnwindSafe,
C: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more