Struct wasmi::GlobalDescriptor
source · pub struct GlobalDescriptor { /* private fields */ }
Expand description
Description of a global variable.
Primarly used to describe imports of global variables.
See ImportResolver
for details.
Implementations§
source§impl GlobalDescriptor
impl GlobalDescriptor
sourcepub fn value_type(&self) -> ValueType
pub fn value_type(&self) -> ValueType
Returns ValueType
of the requested global.
sourcepub fn is_mutable(&self) -> bool
pub fn is_mutable(&self) -> bool
Returns whether the requested global mutable.