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 ==
.impl Copy for ExportKind
impl Eq for ExportKind
impl StructuralEq for ExportKind
impl StructuralPartialEq for ExportKind
Auto Trait Implementations§
impl RefUnwindSafe for ExportKind
impl Send for ExportKind
impl Sync for ExportKind
impl Unpin for ExportKind
impl UnwindSafe for ExportKind
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