Enum walrus::GlobalKind
source · pub enum GlobalKind {
Import(ImportId),
Local(InitExpr),
}
Expand description
The different kinds of globals a wasm module can have
Variants§
Import(ImportId)
An imported global without a known initializer
Local(InitExpr)
A locally declare global with the specified identifier
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for GlobalKind
impl Send for GlobalKind
impl Sync for GlobalKind
impl Unpin for GlobalKind
impl UnwindSafe for GlobalKind
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