Struct parity_wasm::elements::GlobalSection
[−]
[src]
pub struct GlobalSection(_);
Globals definition section.
Methods
impl GlobalSection[src]
fn entries(&self) -> &[GlobalEntry][src]
List of all global entries in the section
fn with_entries(entries: Vec<GlobalEntry>) -> Self[src]
New global section from list of global entries
fn entries_mut(&mut self) -> &mut Vec<GlobalEntry>[src]
List of all global entries in the section (mutable)
Trait Implementations
impl Default for GlobalSection[src]
fn default() -> GlobalSection[src]
Returns the "default value" for a type. Read more
impl Deserialize for GlobalSection[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