Crate memory_units [−] [src]
Crate for safe conversion between units of memory.
Reexports
pub use target::*; |
Modules
target |
Sizes and units for the current compilation target. |
wasm32 |
WebAssembly-specific sizes and units. |
Structs
Bytes |
Memory size specified in bytes. |
Traits
ByteSize |
A trait defining the size, in bytes, of one unit of |
RoundUpTo |
A trait defining round up conversion between various memory units. |
Functions
size_of |
Returns the size of a type in |