pub struct Global {
pub ty: Type,
pub mutability: bool,
pub initializer: GlobalInit,
}Expand description
WebAssembly global.
Fields§
§ty: TypeThe type of the value stored in the global.
mutability: boolA flag indicating whether the value may change at runtime.
initializer: GlobalInitThe source of the initial value.
Trait Implementations§
impl Copy for Global
Auto Trait Implementations§
impl Freeze for Global
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