Struct shipyard::iterators::NonPacked7[][src]

pub struct NonPacked7<A: IntoAbstract, B: IntoAbstract, C: IntoAbstract, D: IntoAbstract, E: IntoAbstract, F: IntoAbstract, G: IntoAbstract> { /* fields omitted */ }
Expand description

Non packed iterator over 7 components.

Trait Implementations

Safety Read more

Performs the conversion.

Performs the conversion.

Which kind of iterator are we turning this into?

The type of the elements being iterated over.

Creates an iterator from a value. Read more

Returns the minimum number of components yielded and maybe the maximum.

Returns the next component.

Visits all components and apply f.

Visits all components and apply f, can return early.

Visits all components, apply f and store the result in acc.

Visits all components, apply f and store the result in acc, can return early.

Returns the current iteration count as well as component(s).

Returns EntityId as well as component(s).

Skips components that doesn’t match pred.

Consumes the shiperator and counts the number of iterations.

Applies f to all visited components.
Using it on an update packed storages will flag entities even if they’re not yielded at the end. Read more

Searches component(s) that matches pred.

Transforms a shiperator into an iterator, allowing the use of for loop and crates such as itertools.
Iterator doesn’t know about update pack so it’ll flag everything it visits. Read more

Collects this shiperator into a collection.

The type of item returned by this producer.

Split midway into a new producer if possible, otherwise return None.

Iterate the producer, feeding each element to folder, and stop when the folder is full (or all elements have been consumed). Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.