pub struct MemoryManagerAdapter {
pub memory_manager: Box<dyn McjitMemoryManager>,
}Expand description
Holds a boxed McjitMemoryManager and passes it to LLVM as an opaque pointer.
LLVM calls into the adapter using the extern “C” function pointers defined below.
Fields§
§memory_manager: Box<dyn McjitMemoryManager>Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemoryManagerAdapter
impl !RefUnwindSafe for MemoryManagerAdapter
impl !Send for MemoryManagerAdapter
impl !Sync for MemoryManagerAdapter
impl Unpin for MemoryManagerAdapter
impl UnsafeUnpin for MemoryManagerAdapter
impl !UnwindSafe for MemoryManagerAdapter
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