[][src]Struct walrus::Table

pub struct Table {
    pub initial: u32,
    pub maximum: Option<u32>,
    pub kind: TableKind,
    pub import: Option<ImportId>,
    // some fields omitted
}

A table in the wasm.

Fields

initial: u32

The initial size of this table

maximum: Option<u32>

The maximum size of this table

kind: TableKind

Which kind of table this is

import: Option<ImportId>

Whether or not this table is imported, and if so what imports it.

Methods

impl Table[src]

pub fn id(&self) -> TableId[src]

Get this table's id.

Trait Implementations

impl Debug for Table[src]

Auto Trait Implementations

impl Sync for Table

impl Send for Table

impl Unpin for Table

impl RefUnwindSafe for Table

impl UnwindSafe for Table

Blanket Implementations

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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