Struct llvm_kaleidoscope_rs::llvm::ResourceTracker
source · [−]pub struct ResourceTracker<'jit>(_, _);
Expand description
A resource handle for code added to an LLJit
instance.
When a ResourceTracker
handle is dropped, the code corresponding to the handle will be
removed from the JIT.
Trait Implementations
Auto Trait Implementations
impl<'jit> RefUnwindSafe for ResourceTracker<'jit>
impl<'jit> !Send for ResourceTracker<'jit>
impl<'jit> !Sync for ResourceTracker<'jit>
impl<'jit> Unpin for ResourceTracker<'jit>
impl<'jit> UnwindSafe for ResourceTracker<'jit>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more