pub struct WasiGlobal {
pub global_type: WasmGlobalType,
pub init_expr: Vec<WasiInstruction>,
}Expand description
WASM 全局变量
Fields§
§global_type: WasmGlobalType§init_expr: Vec<WasiInstruction>Trait Implementations§
Source§impl Clone for WasiGlobal
impl Clone for WasiGlobal
Source§fn clone(&self) -> WasiGlobal
fn clone(&self) -> WasiGlobal
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 moreAuto Trait Implementations§
impl Freeze for WasiGlobal
impl RefUnwindSafe for WasiGlobal
impl Send for WasiGlobal
impl Sync for WasiGlobal
impl Unpin for WasiGlobal
impl UnsafeUnpin for WasiGlobal
impl UnwindSafe for WasiGlobal
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