Struct nanowasm::types::Global
[−]
[src]
pub struct Global { pub mutable: bool, pub variable_type: ValueType, pub value: Value, }
A structure containing runtime data for a global variable.
Fields
mutable: bool
variable_type: ValueType
value: Value
Methods
impl Global
[src]
pub fn initialize(&mut self, init_value: Value)
[src]
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