[]Struct acute_ecs::world::PreallocComponentSource

pub struct PreallocComponentSource<I, C> where
    C: ComponentSource,
    I: Iterator<Item = Entity> + FusedIterator
{ /* fields omitted */ }

Implementations

impl<I, C> PreallocComponentSource<Fuse<I>, C> where
    C: ComponentSource,
    I: Iterator<Item = Entity>, 

pub fn new(entities: I, components: C) -> PreallocComponentSource<Fuse<I>, C>

Trait Implementations

impl<I, C> ComponentLayout for PreallocComponentSource<I, C> where
    C: ComponentSource,
    I: Iterator<Item = Entity> + FusedIterator

type Filter = <C as ComponentLayout>::Filter

A filter type which filters archetypes to an exact match with this layout.

impl<I, C> ComponentSource for PreallocComponentSource<I, C> where
    C: ComponentSource,
    I: Iterator<Item = Entity> + FusedIterator

impl<I, C> IntoComponentSource for PreallocComponentSource<I, C> where
    C: ComponentSource,
    I: Iterator<Item = Entity> + FusedIterator

type Source = PreallocComponentSource<I, C>

The component source type that can be converted into.

Auto Trait Implementations

impl<I, C> RefUnwindSafe for PreallocComponentSource<I, C> where
    C: RefUnwindSafe,
    I: RefUnwindSafe

impl<I, C> Send for PreallocComponentSource<I, C> where
    C: Send,
    I: Send

impl<I, C> Sync for PreallocComponentSource<I, C> where
    C: Sync,
    I: Sync

impl<I, C> Unpin for PreallocComponentSource<I, C> where
    C: Unpin,
    I: Unpin

impl<I, C> UnwindSafe for PreallocComponentSource<I, C> where
    C: UnwindSafe,
    I: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Component for T where
    T: 'static + Send + Sync

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoComponentSource for I where
    I: IntoIterator,
    ComponentTupleSet<<I as IntoIterator>::Item, <I as IntoIterator>::IntoIter>: ComponentSource

type Source = ComponentTupleSet<<I as IntoIterator>::Item, <I as IntoIterator>::IntoIter>

The component source type that can be converted into.

impl<T> Resource for T where
    T: 'static + Send + Sync

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.