[−]Struct acute_ecs::world::PreallocComponentSource
Implementations
impl<I, C> PreallocComponentSource<Fuse<I>, C> where
C: ComponentSource,
I: Iterator<Item = Entity>,
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,
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.
fn get_filter(
&mut self
) -> &mut <PreallocComponentSource<I, C> as ComponentLayout>::Filter
&mut self
) -> &mut <PreallocComponentSource<I, C> as ComponentLayout>::Filter
fn tailor_archetype(&self, archetype: &mut ArchetypeDescription)
impl<I, C> ComponentSource for PreallocComponentSource<I, C> where
C: ComponentSource,
I: Iterator<Item = Entity> + FusedIterator,
C: ComponentSource,
I: Iterator<Item = Entity> + FusedIterator,
fn is_empty(&mut self) -> bool
fn len(&self) -> usize
fn write<T>(&mut self, entities: T, chunk: &mut ComponentStorage) -> usize where
T: Iterator<Item = Entity>,
T: Iterator<Item = Entity>,
impl<I, C> IntoComponentSource for PreallocComponentSource<I, C> where
C: ComponentSource,
I: Iterator<Item = Entity> + FusedIterator,
C: ComponentSource,
I: Iterator<Item = Entity> + FusedIterator,
type Source = PreallocComponentSource<I, C>
The component source type that can be converted into.
fn into(self) -> <PreallocComponentSource<I, C> as IntoComponentSource>::Source
Auto Trait Implementations
impl<I, C> RefUnwindSafe for PreallocComponentSource<I, C> where
C: RefUnwindSafe,
I: RefUnwindSafe,
C: RefUnwindSafe,
I: RefUnwindSafe,
impl<I, C> Send for PreallocComponentSource<I, C> where
C: Send,
I: Send,
C: Send,
I: Send,
impl<I, C> Sync for PreallocComponentSource<I, C> where
C: Sync,
I: Sync,
C: Sync,
I: Sync,
impl<I, C> Unpin for PreallocComponentSource<I, C> where
C: Unpin,
I: Unpin,
C: Unpin,
I: Unpin,
impl<I, C> UnwindSafe for PreallocComponentSource<I, C> where
C: UnwindSafe,
I: UnwindSafe,
C: UnwindSafe,
I: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Component for T where
T: 'static + Send + Sync,
T: 'static + Send + Sync,
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<I> IntoComponentSource for I where
I: IntoIterator,
ComponentTupleSet<<I as IntoIterator>::Item, <I as IntoIterator>::IntoIter>: ComponentSource,
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.
fn into(self) -> <I as IntoComponentSource>::Source
impl<T> Resource for T where
T: 'static + Send + Sync,
T: 'static + Send + Sync,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,