Module bones_lib::render::prelude

source ·
Expand description

The prelude

Modules

  • bool vector mask types.
  • f32 vector, quaternion and matrix types.
  • f64 vector, quaternion and matrix types.
  • i32 vector types.
  • The prelude.
  • Traits adding swizzle methods to all vector types.
  • u32 vector types.

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.
  • Create a new const Key parsed at compile time.

Structs

Enums

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 supplied World.
  • Converts a function into a System.
  • A type representing a component-joining entity query.
  • Helper trait that is auto-implemented for all Clone-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 for System functions.
  • Trait for system stages. A stage is a
  • Associates a Ulid ID 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 to Default::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 from x, y, z and w values.
  • 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 from x, y, z and w values.
  • 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

Derive Macros

  • Implements Deref for single-item structs. This is especially useful when utilizing the newtype pattern.
  • Implements DerefMut for single-item structs. This is especially useful when utilizing the newtype pattern.
  • Derive macro for the TypeUlid trait.