[−][src]Struct llvm_scratch::core::module::Module
An representation of LLVMModule.
Implementations
impl Module
[src]
pub fn set_target_triple(&mut self, triple: TargetTriple)
[src]
pub fn set_target_datalayout(&mut self, layout: TargetDataLayout)
[src]
pub fn get_function_ref_as_mut(&mut self, func_id: FunctionId) -> &mut Function
[src]
pub fn get_function_ref(&self, func_id: FunctionId) -> &Function
[src]
pub fn new_function(
&mut self,
func_name: &str,
ret_type: ReturnType
) -> FunctionId
[src]
&mut self,
func_name: &str,
ret_type: ReturnType
) -> FunctionId
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnwindSafe for Module
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,