[−][src]Struct parity_wasm::elements::GlobalEntry
Global entry in the module.
Implementations
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 Debug for GlobalEntry
[src][+]
impl Deserialize for GlobalEntry
[src][+]
impl PartialEq<GlobalEntry> for GlobalEntry
[src][+]
impl Serialize for GlobalEntry
[src][+]
impl StructuralPartialEq for GlobalEntry
[src]
Auto Trait Implementations
impl RefUnwindSafe for GlobalEntry
impl Send for GlobalEntry
impl Sync for GlobalEntry
impl Unpin for GlobalEntry
impl UnwindSafe for GlobalEntry
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,