pub struct WasmGlobalEntry { /* private fields */ }Expand description
Parsed WebAssembly global variable declaration (i32, mutable or immutable).
Implementations§
Source§impl WasmGlobalEntry
Implements impl #impl_generics #name #ty_generics #where_clause.
impl WasmGlobalEntry
Implements impl #impl_generics #name #ty_generics #where_clause.
pub fn get_value_type(&self) -> u8
pub fn get_mut_value_type(&mut self) -> &mut u8
pub fn set_value_type(&mut self, val: u8) -> &mut Self
pub fn get_mutable(&self) -> bool
pub fn get_mut_mutable(&mut self) -> &mut bool
pub fn set_mutable(&mut self, val: bool) -> &mut Self
pub fn get_init_i32(&self) -> i32
pub fn get_mut_init_i32(&mut self) -> &mut i32
pub fn set_init_i32(&mut self, val: i32) -> &mut Self
Trait Implementations§
Source§impl Clone for WasmGlobalEntry
impl Clone for WasmGlobalEntry
impl Copy for WasmGlobalEntry
Source§impl Debug for WasmGlobalEntry
impl Debug for WasmGlobalEntry
Source§impl Default for WasmGlobalEntry
impl Default for WasmGlobalEntry
impl Eq for WasmGlobalEntry
Source§impl Hash for WasmGlobalEntry
impl Hash for WasmGlobalEntry
Source§impl PartialEq for WasmGlobalEntry
impl PartialEq for WasmGlobalEntry
impl StructuralPartialEq for WasmGlobalEntry
Auto Trait Implementations§
impl Forget for WasmGlobalEntry
impl Freeze for WasmGlobalEntry
impl Move for WasmGlobalEntry
impl RefUnwindSafe for WasmGlobalEntry
impl Send for WasmGlobalEntry
impl Sync for WasmGlobalEntry
impl Unpin for WasmGlobalEntry
impl UnsafeUnpin for WasmGlobalEntry
impl UnwindSafe for WasmGlobalEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more