Module bones_lib::ecs::prelude

Expand description

The prelude.

Modules§

  • Simple reflection system based on the #[repr(C)] memory layout.

Macros§

  • Shorthand for combining bitsets with bit_or.
  • Shorthand for setting bits on the bitset container.
  • Implements the BitSet trait members for your type through DerefMut.

Structs§

Enums§

Constants§

  • A fast, non-cryptographic, thread-local random number generator powered by turborand.

Statics§

Traits§

  • The BitSet API.
  • This trait factors out functions for iterating with bitset over component store. Separated from impl ComponentStore for usage in generic trait types that must be able to create ComponentBitsetIterator and related types.
  • Trait implemented for types that can produce an instance of themselves from a Rust type.
  • Creates an instance of the type this trait is implemented for using data from the supplied World.
  • This trait provides the means to easily generate all integer types, provided the main method underpinning this is implemented: GenCore::gen. Once implemented, the rest of the trait provides default implementations for generating all integer types, though it is not recommended to override these.
  • Trait implemented for types that have a [Schema].
  • Converts a function into a System.
  • A type representing a component-joining entity query.
  • Trait for things that may be used to identify a system stage.
  • Trait implemented by systems.
  • Trait used to implement parameters for System functions.
  • Trait for system stages. A stage is a
  • Extension trait for automatically implementing all TurboRand methods, as long as the struct implements [TurboCore] & GenCore. All methods are provided as default implementations that build on top of [TurboCore] and GenCore, and thus are not recommended to be overridden, lest you potentially change the expected outcome of the methods.
  • Extension trait for Ulid.
  • Helper trait for unwraping each item in an array.

Functions§

Type Aliases§

Derive Macros§