alloy

Module core

source
Expand description

The core module provides base definitions that are used throughout the engine.

Modules§

  • Module for working with 32-bit floating point numbers at compile-time.
  • Crate provides definitions of hasher
  • Hints that can be used to guide the compiler’s optimization decisions.

Structs§

  • A zero-sized type that may be embedded in other types to guarantee an alignment of N bytes. Alignment is provided as a const generic parameter, allowing for better configurability.
  • An array that is aligned to a particular boundary.
  • An error returned when a value is not clamped between 0.0 and 1.0.
  • An f32 point value clamped between 0.0 and 1.0.
  • An f64 point value clamped between 0.0 and 1.0.
  • A strided slice is a slice that skips over a fixed number of elements between each element.
  • A Universally Unique Identifier (UUID).

Traits§

  • A trait implemented for the alignment type, allowing for the type to be embedded in other types to guarantee the alignment.