pub struct Function { /* private fields */ }
Implementations§
Source§impl Function
impl Function
pub fn set_gc(&self, name: impl AsRef<str>)
pub fn has_param_name(&self, name: &str) -> bool
pub fn get_param_index(&self, name: &str) -> Option<usize>
pub fn append_basic_block(&self, name: impl AsRef<str>) -> LLVMBasicBlockRef
pub fn get_param(&self, name: &str) -> Option<LLVMValue>
pub fn get_function_ref(&self) -> LLVMValueRef
pub fn get_declaration(&self) -> LLVMType
pub fn as_ref(&self) -> LLVMValueRef
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Function
impl RefUnwindSafe for Function
impl !Send for Function
impl !Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
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