pub struct CompilationResult {
pub functions: Vec<CompiledFunction>,
pub elf: Option<Vec<u8>>,
pub backend_name: String,
}Expand description
Result of compiling a full module
Fields§
§functions: Vec<CompiledFunction>Compiled functions
elf: Option<Vec<u8>>Complete ELF binary (if backend produces one directly)
backend_name: StringName of the backend that produced this result
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompilationResult
impl RefUnwindSafe for CompilationResult
impl Send for CompilationResult
impl Sync for CompilationResult
impl Unpin for CompilationResult
impl UnsafeUnpin for CompilationResult
impl UnwindSafe for CompilationResult
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