Struct wasmer_types_near::TableInitializer[][src]

pub struct TableInitializer {
    pub table_index: TableIndex,
    pub base: Option<GlobalIndex>,
    pub offset: usize,
    pub elements: Box<[FunctionIndex]>,
}

A WebAssembly table initializer.

Fields

table_index: TableIndex

The index of a table to initialize.

base: Option<GlobalIndex>

Optionally, a global variable giving a base index.

offset: usize

The offset to add to the base.

elements: Box<[FunctionIndex]>

The values to write into the table elements.

Trait Implementations

impl Clone for TableInitializer[src]

impl Debug for TableInitializer[src]

impl<'de> Deserialize<'de> for TableInitializer[src]

impl Hash for TableInitializer[src]

impl Serialize for TableInitializer[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.