Struct llvm_kaleidoscope_rs::llvm::ResourceTracker
source · pub struct ResourceTracker<'jit>(/* private fields */);
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§
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