Struct cton_wasm::Global
[−]
[src]
pub struct Global { pub ty: Type, pub mutability: bool, pub initializer: GlobalInit, }
WebAssembly global.
Fields
ty: Type
The type of the value stored in the global.
mutability: bool
A flag indicating whether the value may change at runtime.
initializer: GlobalInit
The source of the initial value.
Trait Implementations
impl Debug for Global
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Global
[src]
fn clone(&self) -> Global
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more