Enum wasm_encoder::Export
source · [−]pub enum Export {
Function(u32),
Table(u32),
Memory(u32),
Global(u32),
Tag(u32),
Instance(u32),
Module(u32),
}
Expand description
A WebAssembly export.
Variants
Function(u32)
An export of the n
th function.
Table(u32)
An export of the n
th table.
Memory(u32)
An export of the n
th memory.
Global(u32)
An export of the n
th global.
Tag(u32)
An export of the n
th tag.
Instance(u32)
An export of the n
th instance.
Note that this is part of the module linking proposal and is not currently part of stable WebAssembly.
Module(u32)
An export of the n
th module.
Note that this is part of the module linking proposal and is not currently part of stable WebAssembly.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Export
impl Send for Export
impl Sync for Export
impl Unpin for Export
impl UnwindSafe for Export
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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