pub struct ModuleCtx {
pub isa: TargetIsa,
/* private fields */
}Fields§
§isa: TargetIsaImplementations§
Source§impl ModuleCtx
impl ModuleCtx
pub fn new(isa: TargetIsa) -> Self
pub fn with_ty_store<F, R>(&self, f: F) -> R
pub fn with_ty_store_mut<F, R>(&self, f: F) -> R
pub fn with_gv_store<F, R>(&self, f: F) -> Rwhere
F: FnOnce(&GlobalVariableStore) -> R,
pub fn with_gv_store_mut<F, R>(&self, f: F) -> Rwhere
F: FnOnce(&mut GlobalVariableStore) -> R,
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModuleCtx
impl !RefUnwindSafe for ModuleCtx
impl !Send for ModuleCtx
impl !Sync for ModuleCtx
impl Unpin for ModuleCtx
impl !UnwindSafe for ModuleCtx
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