pub unsafe trait AsContextRef<'ctx> {
// Required method
fn as_ctx_ref(&self) -> LLVMContextRef;
}
Expand description
This trait abstracts an LLVM Context
type and should be implemented with caution.
Required Methods§
Sourcefn as_ctx_ref(&self) -> LLVMContextRef
fn as_ctx_ref(&self) -> LLVMContextRef
Returns the internal LLVM reference behind the type