Crate zero_ecs

Crate zero_ecs 

Source

Re-exports§

pub use macro_magic;
pub use rayon;
pub use derive_more;

Macros§

chain
Chain zero or more iterators together into one sequence.
chain_par
ecs_world
import_tokens
Allows you to import the tokens of an external item marked with #[export_tokens] whose path is already known at compile-time without having to do any additional parsing.
izip
Create an iterator running multiple iterators in lockstep.
izip_par
make_query
sum

Structs§

PhantomData
Zero-sized type used to mark things that “act like” they own a T.

Traits§

FromParallelIterator
FromParallelIterator implements the creation of a collection from a ParallelIterator. By implementing FromParallelIterator for a given type, you define how it will be created from an iterator.
IndexedParallelIterator
An iterator that supports “random access” to its data, meaning that you can split it at arbitrary indices and draw data from those points.
IntoParallelIterator
IntoParallelIterator implements the conversion to a ParallelIterator.
IntoParallelRefIterator
IntoParallelRefIterator implements the conversion to a ParallelIterator, providing shared references to the data.
IntoParallelRefMutIterator
IntoParallelRefMutIterator implements the conversion to a ParallelIterator, providing mutable references to the data.
ParallelBridge
Conversion trait to convert an Iterator to a ParallelIterator.
ParallelDrainFull
ParallelDrainFull creates a parallel iterator that moves all items from a collection while retaining the original capacity.
ParallelDrainRange
ParallelDrainRange creates a parallel iterator that moves a range of items from a collection while retaining the original capacity.
ParallelExtend
ParallelExtend extends an existing collection with items from a ParallelIterator.
ParallelIterator
Parallel version of the standard iterator trait.
ParallelSlice
Parallel extensions for slices.
ParallelSliceMut
Parallel extensions for mutable slices.
ParallelString
Parallel extensions for strings.

Functions§

chain
Takes two iterables and creates a new iterator over both in sequence.

Attribute Macros§

entity
expand_world
export_tokens
Can be applied to any item. Doing so will make the tokens for this item available for import by the other macros in this crate.
ext
See crate docs for more info.
import_tokens_attr
Can be attached to an attribute proc macro function, causing it to receive the tokens for the external item referred to by the path provided as the attr / first argument to the attribute macro.
import_tokens_proc
An attribute macro that can be attached to a proc macro function definition that will cause it to receive the tokens of the external item referred to by its argument as input to your proc macro.
query
system
system_for_each
tag_world

Derive Macros§

From
What #[derive(From)] generates
Into
What #[derive(Into)] generates