Struct wasmtime_runtime::ModuleLimits[][src]

pub struct ModuleLimits {
    pub imported_functions: u32,
    pub imported_tables: u32,
    pub imported_memories: u32,
    pub imported_globals: u32,
    pub types: u32,
    pub functions: u32,
    pub tables: u32,
    pub memories: u32,
    pub globals: u32,
    pub table_elements: u32,
    pub memory_pages: u32,
}

Represents the limits placed on a module for compiling with the pooling instance allocator.

Fields

imported_functions: u32

The maximum number of imported functions for a module.

imported_tables: u32

The maximum number of imported tables for a module.

imported_memories: u32

The maximum number of imported linear memories for a module.

imported_globals: u32

The maximum number of imported globals for a module.

types: u32

The maximum number of defined types for a module.

functions: u32

The maximum number of defined functions for a module.

tables: u32

The maximum number of defined tables for a module.

memories: u32

The maximum number of defined linear memories for a module.

globals: u32

The maximum number of defined globals for a module.

table_elements: u32

The maximum table elements for any table defined in a module.

memory_pages: u32

The maximum number of pages for any linear memory defined in a module.

Trait Implementations

impl Clone for ModuleLimits[src]

impl Copy for ModuleLimits[src]

impl Debug for ModuleLimits[src]

impl Default for ModuleLimits[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,