pub struct RegGlobal {
pub ty: ValType,
pub mutable: bool,
pub init: Vec<RegConstInstr>,
}Expand description
A defined global in lowered register IR.
Fields§
§ty: ValType§mutable: bool§init: Vec<RegConstInstr>Const initializer, evaluated at instantiation.
Trait Implementations§
impl StructuralPartialEq for RegGlobal
Auto Trait Implementations§
impl Freeze for RegGlobal
impl RefUnwindSafe for RegGlobal
impl Send for RegGlobal
impl Sync for RegGlobal
impl Unpin for RegGlobal
impl UnsafeUnpin for RegGlobal
impl UnwindSafe for RegGlobal
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