pub struct Table {
pub table64: bool,
pub initial: u64,
pub maximum: Option<u64>,
pub element_ty: RefType,
pub import: Option<ImportId>,
pub elem_segments: HashSet<Id<Element>, BuildIdHasher>,
pub name: Option<String>,
/* private fields */
}Expand description
A table in the wasm.
Fields§
§table64: boolWhether or not this is a 64-bit table.
initial: u64The initial size of this table
maximum: Option<u64>The maximum size of this table
element_ty: RefTypeThe type of the elements in this table
import: Option<ImportId>Whether or not this table is imported, and if so what imports it.
elem_segments: HashSet<Id<Element>, BuildIdHasher>Active data segments that will be used to initialize this memory.
name: Option<String>The name of this table, used for debugging purposes in the name
custom section.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnwindSafe for Table
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more