Crate memory_units

source ·
Expand description

Crate for safe conversion between units of memory.

Re-exports

Modules

  • Sizes and units for the current compilation target.
  • WebAssembly-specific sizes and units.

Structs

  • Memory size specified in bytes.

Traits

  • A trait defining the size, in bytes, of one unit of Self.
  • A trait defining round up conversion between various memory units.

Functions