Struct parity_wasm::elements::GlobalType
[−]
[src]
pub struct GlobalType { /* fields omitted */ }
Global definition struct
Methods
impl GlobalType
[src]
fn new(content_type: ValueType, is_mutable: bool) -> Self
New global type
fn content_type(&self) -> ValueType
Type of the global entry
fn is_mutable(&self) -> bool
Is global entry is declared as mutable
Trait Implementations
impl Debug for GlobalType
[src]
impl Deserialize for GlobalType
[src]
type Error = Error
Serialization error produced by deserialization routine.
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>
Deserialize type from serial i/o