Struct wasm_graph::Global
source · pub struct Global {
pub content: ValueType,
pub is_mut: bool,
pub origin: ImportedOrDeclared<Vec<Instruction>>,
}
Expand description
Global declaration.
As with other instances, globals can be either imported or declared
within the module - origin
field is handling this.
Fields§
§content: ValueType
Value type of the global.
is_mut: bool
Is global mutable.
origin: ImportedOrDeclared<Vec<Instruction>>
Imported or declared.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Global
impl !Send for Global
impl !Sync for Global
impl Unpin for Global
impl !UnwindSafe for Global
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