pub struct BuilderRef(/* private fields */);
Expand description
LLVM Builder wrapper
Implementations§
Source§impl BuilderRef
impl BuilderRef
Sourcepub fn new(context: &ContextRef) -> Self
pub fn new(context: &ContextRef) -> Self
Create LLVM module with name
Sourcepub const fn get(&self) -> LLVMBuilderRef
pub const fn get(&self) -> LLVMBuilderRef
Get raw builder reference
Sourcepub fn position_at_end(&self, basic_block: &BasicBlockRef)
pub fn position_at_end(&self, basic_block: &BasicBlockRef)
Set builder position at end
Sourcepub fn build_ret_void(&self) -> ValueRef
pub fn build_ret_void(&self) -> ValueRef
Set and return builder return void value
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BuilderRef
impl RefUnwindSafe for BuilderRef
impl !Send for BuilderRef
impl !Sync for BuilderRef
impl Unpin for BuilderRef
impl UnwindSafe for BuilderRef
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