Enum wasm_encoder::ExportKind
source · #[repr(u8)]
pub enum ExportKind {
Func,
Table,
Memory,
Global,
Tag,
}
Expand description
Represents the kind of an export from a WebAssembly module.
Variants§
Func
The export is a function.
Table
The export is a table.
Memory
The export is a memory.
Global
The export is a global.
Tag
The export is a tag.
Trait Implementations§
source§impl Clone for ExportKind
impl Clone for ExportKind
source§fn clone(&self) -> ExportKind
fn clone(&self) -> ExportKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ExportKind
impl Debug for ExportKind
source§impl Encode for ExportKind
impl Encode for ExportKind
source§impl PartialEq<ExportKind> for ExportKind
impl PartialEq<ExportKind> for ExportKind
source§fn eq(&self, other: &ExportKind) -> bool
fn eq(&self, other: &ExportKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.