structstd.wasm.Limits[src]

Limits classify the size range of resizeable storage associated with memory types and table types.

Container Types

Fields

flags: Flags
min: u32
max: u32

Source Code

Source code
pub const Limits = struct {
    flags: Flags,
    min: u32,
    max: u32,

    pub const Flags = packed struct(u8) {
        has_max: bool,
        is_shared: bool,
        reserved: u6 = 0,
    };
}