[−][src]Struct nodespeak::llvmir::structure::Program
Implementations
impl Program
[src]
pub fn new(
context: LLVMContextRef,
module: LLVMModuleRef,
in_type: LLVMTypeRef,
out_type: LLVMTypeRef,
error_descriptions: Vec<String>
) -> Self
[src]
context: LLVMContextRef,
module: LLVMModuleRef,
in_type: LLVMTypeRef,
out_type: LLVMTypeRef,
error_descriptions: Vec<String>
) -> Self
After this, the prrogram will handle dropping the module and context automatically.
pub unsafe fn execute_data<T: Sized, U: Sized>(
&self,
input_data: &mut T,
output_data: &mut U
) -> Result<(), &str>
[src]
&self,
input_data: &mut T,
output_data: &mut U
) -> Result<(), &str>
pub unsafe fn execute_raw(
&self,
input_data: &mut [u8],
output_data: &mut [u8]
) -> Result<(), &str>
[src]
&self,
input_data: &mut [u8],
output_data: &mut [u8]
) -> Result<(), &str>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Program
impl !Send for Program
impl !Sync for Program
impl Unpin for Program
impl UnwindSafe for Program
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, 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>,