Enum wasm_encoder::AliasExportKind
source · [−]pub enum AliasExportKind {
Module,
Component,
Instance,
ComponentFunction,
Value,
Function,
Table,
Memory,
Global,
Tag,
}
Expand description
Represents the expected export kind for an alias.
Variants
Module
The alias is to a module.
Component
The alias is to a component.
Instance
The alias is to an instance.
ComponentFunction
The alias is to a component function.
Value
The alias is to a value.
Function
The alias is to a core WebAssembly function.
Table
The alias is to a table.
Memory
The alias is to a memory.
Global
The alias is to a global.
Tag
The alias is to a tag.
Trait Implementations
sourceimpl Clone for AliasExportKind
impl Clone for AliasExportKind
sourcefn clone(&self) -> AliasExportKind
fn clone(&self) -> AliasExportKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AliasExportKind
impl Debug for AliasExportKind
sourceimpl Encode for AliasExportKind
impl Encode for AliasExportKind
sourceimpl PartialEq<AliasExportKind> for AliasExportKind
impl PartialEq<AliasExportKind> for AliasExportKind
impl Copy for AliasExportKind
impl Eq for AliasExportKind
impl StructuralEq for AliasExportKind
impl StructuralPartialEq for AliasExportKind
Auto Trait Implementations
impl RefUnwindSafe for AliasExportKind
impl Send for AliasExportKind
impl Sync for AliasExportKind
impl Unpin for AliasExportKind
impl UnwindSafe for AliasExportKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more