Enum tinywasm_types::ExternalKind
source · pub enum ExternalKind {
Func,
Table,
Memory,
Global,
}
Expand description
A WebAssembly External Kind.
See https://webassembly.github.io/spec/core/syntax/types.html#external-types
Variants§
Func
A WebAssembly Function.
Table
A WebAssembly Table.
Memory
A WebAssembly Memory.
Global
A WebAssembly Global.
Trait Implementations§
source§impl Clone for ExternalKind
impl Clone for ExternalKind
source§fn clone(&self) -> ExternalKind
fn clone(&self) -> ExternalKind
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 ExternalKind
impl Debug for ExternalKind
source§impl PartialEq for ExternalKind
impl PartialEq for ExternalKind
source§fn eq(&self, other: &ExternalKind) -> bool
fn eq(&self, other: &ExternalKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExternalKind
Auto Trait Implementations§
impl RefUnwindSafe for ExternalKind
impl Send for ExternalKind
impl Sync for ExternalKind
impl Unpin for ExternalKind
impl UnwindSafe for ExternalKind
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