pub enum WasmImportType {
Function {
type_index: u32,
},
Table {
table_type: WasmTableType,
},
Memory {
memory_type: WasmMemoryType,
},
Global {
global_type: WasmGlobalType,
},
}Expand description
WASM 导入类型
Variants§
Function
Table
Fields
§
table_type: WasmTableTypeMemory
Fields
§
memory_type: WasmMemoryTypeGlobal
Fields
§
global_type: WasmGlobalTypeTrait Implementations§
Source§impl Clone for WasmImportType
impl Clone for WasmImportType
Source§fn clone(&self) -> WasmImportType
fn clone(&self) -> WasmImportType
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 WasmImportType
impl Debug for WasmImportType
impl Copy for WasmImportType
Auto Trait Implementations§
impl Freeze for WasmImportType
impl RefUnwindSafe for WasmImportType
impl Send for WasmImportType
impl Sync for WasmImportType
impl Unpin for WasmImportType
impl UnsafeUnpin for WasmImportType
impl UnwindSafe for WasmImportType
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