Expand description
The prelude
Modules
- boolvector mask types.
- f32vector, quaternion and matrix types.
- f64vector, quaternion and matrix types.
- i32vector types.
- The prelude.
- Traits adding swizzle methods to all vector types.
- u32vector types.
Macros
- Shorthand for combining bitsets with bit_or.
- Shorthand for setting bits on the bitset container.
- Implements theBitSettrait members for your type throughDerefMut.
- Create a new constKeyparsed at compile time.
Structs
- A 2D affine transform, which can represent translation, rotation, scaling and shear.
- A 3D affine transform, which can represent translation, rotation, scaling and shear.
- A path to an asset.
- A mutable borrow of anAssetProvider.
- A borrow of anAssetProvider.
- A resource that may be used to accessAssetProviders for all the different registered asset types.
- The type of theAssetProvidersresource.
- An atlas image asset type, contains no data, butHandle<Atlas>is still useful becaause it uniquely represents an atlas asset that may be rendered outside of the core.
- An animated sprite component.
- A typed, wrapper handle aroundUntypedComponentStorethat is runtime borrow checked and can be cheaply cloned. Think can think of it like anArc<RwLock<ComponentStore>>.
- A read-only borrow ofAtomicComponentStore.
- A mutable borrow ofAtomicComponentStore.
- A wrapper type for an immutably borrowed value from anAtomicRefCell<T>.
- A threadsafe analogue to RefCell.
- A wrapper type for a mutably borrowed value from anAtomicRefCell<T>.
- A handle to a resource from aResourcescollection.
- Resource containing the audio event queue.
- The audio source asset type, contains no data, butHandle<AudioSource>is still useful because it uniquely represents a sound/music that may be played outside of bones.
- A 2-dimensionalboolvector mask.
- A 3-dimensionalboolvector mask.
- A 3-dimensional SIMD vector mask.
- A 4-dimensionalboolvector mask.
- A 4-dimensional SIMD vector mask.
- BitSet formatter.
- The type of bitsets used to track entities in component storages. Mostly used to create caches.
- An error returned byAtomicRefCell::try_borrow.
- An error returned byAtomicRefCell::try_borrow_mut.
- Makes an entity behave like a camera.
- Resource for controlling the clear color.
- A resource containing theCommandscommand queue.
- ASystemParamthat can be used to schedule systems that will be run at the end of the currentSystemStage.
- Read-only iterator over components matching a given bitset
- Mutable iterator over components matching a given bitset
- A typed wrapper aroundUntypedComponentStore.
- A collection ofComponentStore<T>.
- A 2D affine transform, which can represent translation, rotation, scaling and shear.
- A 3D affine transform, which can represent translation, rotation, scaling and shear.
- A 2x2 column major matrix.
- A 3x3 column major matrix.
- A 4x4 column major matrix.
- A quaternion representing an orientation.
- A 2-dimensional vector.
- A 3-dimensional vector.
- A 4-dimensional vector.
- Holds a list of alive entities.
- Iterator over entities returned byEntities::iter_with.
- An entity index.
- Iterator over entities using the provided bitset.
- A typed handle to an asset.
- A 2-dimensional vector.
- A 3-dimensional vector.
- A 4-dimensional vector.
- Image asset type, contains no data, butHandle<Image>is still useful because it uniquely represents an image that may be rendered outside of the core.
- A small ascii byte array stored on the stack and used similarly to a string to represent things like animation keys, etc, without requring a heap allocation.
- A 2x2 column major matrix.
- A 3x3 column major matrix.
- A 3x3 column major matrix.
- A 4x4 column major matrix.
- A component for rendering a 2D line path, made up of a list of straight line segments.
- A quaternion representing an orientation.
- SystemParamfor getting read access to a resource.
- SystemParamfor getting mutable access to a resource.
- A collection of resources.
- A collection of systems that will be run in order.
- A 2D sprite component
- Struct used to run a system function using the world.
- An ordered collection ofSystemStages.
- A tilemap tile component.
- A tilemap layer component.
- The main transform component.
- Implements typed operations on top of aUntypedComponentStore.
- A 2-dimensional vector.
- A 3-dimensional vector.
- A 4-dimensional vector.
- A Ulid is a unique 128-bit lexicographically sortable identifier
- Iterates over components using a provided bitset. Each time the bitset has a 1 in index i, the iterator will fetch data from the storage at index i and return it.
- Iterates over components using a provided bitset. Each time the bitset has a 1 in index i, the iterator will fetch data from the storage at index i.
- Holds components of a given type indexed byEntity.
- An untyped handle to an asset.
- An untyped resource that may be inserted intoUntypedResources.
- Used to construct anUntypedResource.
- Storage for un-typed resources.
- A 2-dimensional vector.
- A 3-dimensional vector.
- A 3-dimensional vector with SIMD support.
- A 4-dimensional vector with SIMD support.
- A custom viewport specification for aCamera.
Enums
- An audio event that may be sent to theAudioEventsresource.
- Color type.
- AStageLabelfor the 5 core stages.
- The types of errors used throughout the ECS.
- Euler rotation sequences.
- Error type for hex color decoding
- An error that may be caused when creating aKey.
Traits
- Trait for asset providers.
- The BitSet API.
- Helper trait that is auto-implemented for anything that may be stored in the ECS’s untyped storage.
- Creates an instance of the type this trait is implemented for using data from the suppliedWorld.
- Converts a function into aSystem.
- A type representing a component-joining entity query.
- Helper trait that is auto-implemented for allClone-able types. Provides easy access to drop and clone funcitons for raw pointers.
- Trait for things that may be used to identify a system stage.
- Trait used to implement parameters forSystemfunctions.
- Trait for system stages. A stage is a
- Associates aUlidID to a Rust type.
- Helper trait that is auto-implemented for anything that may be stored in the ECS’s typed storage.
- Trait implemented for asset providers that can return untyped pointers to their assets.
- Helper trait for unwraping each item in an array.
Functions
- Creates a bitset big enough to contain the index of each entity. Mostly used to create caches.
- Free-standing, shorter equivalent toDefault::default().
- Creates a 2x2 matrix from column vectors.
- Creates a 3x3 matrix from column vectors.
- Creates a 4x4 matrix from column vectors.
- Creates a quaternion fromx,y,zandwvalues.
- Creates a 2-dimensional vector.
- Creates a 3-dimensional vector.
- Creates a 4-dimensional vector.
- Creates a 2-dimensional vector.
- Creates a 3-dimensional vector.
- Creates a 4-dimensional vector.
- Creates a 2x2 matrix from column vectors.
- Creates a 3x3 matrix from column vectors.
- Creates a 3x3 matrix from column vectors.
- Creates a 4x4 matrix from column vectors.
- Creates a quaternion fromx,y,zandwvalues.
- Creates a 2-dimensional vector.
- Creates a 3-dimensional vector.
- Creates a 4-dimensional vector.
- Creates a 2-dimensional vector.
- Creates a 3-dimensional vector.
- Creates a 3-dimensional vector.
- Creates a 4-dimensional vector.
Type Definitions
- SystemParamfor getting read access to a- ComponentStore.
- SystemParamfor getting mutable access to a- ComponentStore.
- Type alias for getting theAssetProvidersresource.
- The result of aSystem’s execution.
- Faster hash map using [FxHashMap] and a ULID key.
Derive Macros
- Derive macro for theTypeUlidtrait.