pub struct Engine { /* private fields */ }
Implementations§
Source§impl Engine
impl Engine
pub fn create_interpreter(module: LLVMModuleRef) -> Result<Engine, String>
pub fn create_jit_engine(module: LLVMModuleRef) -> Result<Engine, String>
pub fn as_ref(&self) -> LLVMExecutionEngineRef
pub fn run_function( &self, function: LLVMValueRef, args: &mut [LLVMGenericValueRef], ) -> FuncallResult
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Engine
impl RefUnwindSafe for Engine
impl !Send for Engine
impl !Sync for Engine
impl Unpin for Engine
impl UnwindSafe for Engine
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