pub struct BasicBlockRef(/* private fields */);
Expand description
LLVM Basic block wrapper
Implementations§
Source§impl BasicBlockRef
impl BasicBlockRef
pub const fn get(&self) -> LLVMBasicBlockRef
Sourcepub fn append_in_context(
context: &ContextRef,
function: &ValueRef,
name: &str,
) -> Self
pub fn append_in_context( context: &ContextRef, function: &ValueRef, name: &str, ) -> Self
Append basic block in context TODO: return error
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BasicBlockRef
impl RefUnwindSafe for BasicBlockRef
impl !Send for BasicBlockRef
impl !Sync for BasicBlockRef
impl Unpin for BasicBlockRef
impl UnwindSafe for BasicBlockRef
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