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
[src]
New global type
fn content_type(&self) -> ValueType
[src]
Type of the global entry
fn is_mutable(&self) -> bool
[src]
Is global entry is declared as mutable
Trait Implementations
impl Debug for GlobalType
[src]
impl Clone for GlobalType
[src]
fn clone(&self) -> GlobalType
[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
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>
[src]
Deserialize type from serial i/o