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 Clone for GlobalSection
[src]
fn clone(&self) -> GlobalSection
[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 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