Crate memory_units
source ·Expand description
Crate for safe conversion between units of memory.
Re-exports
pub use target::*;
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
- Returns the size of a type in
Bytes
.