Module mz_ore::cast

source ·
Expand description

Cast utilities.

Re-exports

Modules

Traits

  • A trait for safe, simple, and infallible casts.
  • A trait for potentially-lossy casts. Typically useful when converting from integers to floating point, and you want the nearest floating-point number to your integer when your integer is large.
  • A trait for reinterpreting casts.
  • A trait for attempted casts.

Functions