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 duplicate 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<'de> Deserialize<'de> for ExternalKind
impl<'de> Deserialize<'de> for ExternalKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&ImportKind> for ExternalKind
impl From<&ImportKind> for ExternalKind
Source§fn from(kind: &ImportKind) -> Self
fn from(kind: &ImportKind) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExternalKind
impl PartialEq for ExternalKind
Source§impl Serialize for ExternalKind
impl Serialize for ExternalKind
impl Copy for ExternalKind
impl Eq for ExternalKind
impl StructuralPartialEq for ExternalKind
Auto Trait Implementations§
impl Freeze for ExternalKind
impl RefUnwindSafe for ExternalKind
impl Send for ExternalKind
impl Sync for ExternalKind
impl Unpin for ExternalKind
impl UnsafeUnpin 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