Struct parity_wasm::elements::GlobalEntry [−][src]
pub struct GlobalEntry { /* fields omitted */ }Global entry in the module.
Implementations
impl GlobalEntry[src]
impl GlobalEntry[src]pub fn new(global_type: GlobalType, init_expr: InitExpr) -> Self[src]
New global entry.
pub fn global_type(&self) -> &GlobalType[src]
Global type.
pub fn init_expr(&self) -> &InitExpr[src]
Initialization expression (instructions) for global.
pub fn global_type_mut(&mut self) -> &mut GlobalType[src]
Global type (mutable).
pub fn init_expr_mut(&mut self) -> &mut InitExpr[src]
Initialization expression (instructions) for global (mutable).
Trait Implementations
impl Clone for GlobalEntry[src]
impl Clone for GlobalEntry[src]fn clone(&self) -> GlobalEntry[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Deserialize for GlobalEntry[src]
impl Deserialize for GlobalEntry[src]impl PartialEq<GlobalEntry> for GlobalEntry[src]
impl PartialEq<GlobalEntry> for GlobalEntry[src]fn eq(&self, other: &GlobalEntry) -> bool[src]
fn ne(&self, other: &GlobalEntry) -> bool[src]
impl Serialize for GlobalEntry[src]
impl Serialize for GlobalEntry[src]