Module wasmi::memory_units[][src]

WebAssembly-specific sizes and units.

Structs

Bytes

Memory size specified in bytes.

Pages

Memory size specified in WebAssembly memory pages.

Words

Memory size specified in wasm32 words.

Traits

ByteSize

A trait defining the size, in bytes, of one unit of Self.

RoundUpTo

A trait defining round up conversion between various memory units.

Functions

size_of

Returns the size of a type in Bytes.