Struct parity_wasm::elements::GlobalSection [−][src]
pub struct GlobalSection(_);
Globals definition section.
Implementations
impl GlobalSection[src]
impl GlobalSection[src]pub fn entries(&self) -> &[GlobalEntry][src]
List of all global entries in the section.
pub fn with_entries(entries: Vec<GlobalEntry>) -> Self[src]
New global section from list of global entries.
pub fn entries_mut(&mut self) -> &mut Vec<GlobalEntry>[src]
List of all global entries in the section (mutable).
Trait Implementations
impl Clone for GlobalSection[src]
impl Clone for GlobalSection[src]fn clone(&self) -> GlobalSection[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Default for GlobalSection[src]
impl Default for GlobalSection[src]fn default() -> GlobalSection[src]
impl Deserialize for GlobalSection[src]
impl Deserialize for GlobalSection[src]impl PartialEq<GlobalSection> for GlobalSection[src]
impl PartialEq<GlobalSection> for GlobalSection[src]fn eq(&self, other: &GlobalSection) -> bool[src]
fn ne(&self, other: &GlobalSection) -> bool[src]
impl Serialize for GlobalSection[src]
impl Serialize for GlobalSection[src]